Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to submit exercises #78

Open
niha070rika opened this issue Jun 19, 2021 · 4 comments
Open

Unable to submit exercises #78

niha070rika opened this issue Jun 19, 2021 · 4 comments

Comments

@niha070rika
Copy link

Getting errors making it hard to submit file.


TypeError Traceback (most recent call last)
in
3
4 # send the added functions to coursera grader for getting a grade on this part
----> 5 grader.grade()

~\Documents\MSc\Coursera_ML\ml-coursera-python-assignments\submission.py in grade(self)
29 parts = OrderedDict()
30 for part_id, result in self:
---> 31 parts[str(part_id)] = {'output': sprintf('%0.5f ', result)}
32 result, response = self.request(parts)
33 response = json.loads(response.decode("utf-8"))

~\Documents\MSc\Coursera_ML\ml-coursera-python-assignments\submission.py in sprintf(fmt, arg)
103 return ' '.join(fmt % e for e in np.asarray(arg).ravel('F'))
104 else:
--> 105 return fmt % arg

TypeError: must be real number, not NoneType

@dibgerge
Copy link
Owner

If still having problems, try pulling the latest code to submit assignment. There has been any update on the grading system.

@shsh9625
Copy link

shsh9625 commented Aug 3, 2021

If still having problems, try pulling the latest code to submit assignment. There has been any update on the grading system.

I'm using the current repository but still, have the same error. What should I do? Any help please?

@julle1903
Copy link

julle1903 commented Oct 3, 2021

I'm using the current repository but still, have the same error. What should I do? Any help please?

I have the same problem. ¯_(ツ)_/¯

@shsh9625
Copy link

I'm using the current repository but still, have the same error. What should I do? Any help please?

I have the same problem. ¯_(ツ)_/¯
Hi, I switched to Matlab to submit. I couldn't figure out how to submit in python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants