ml-coursera-python-assignments icon indicating copy to clipboard operation
ml-coursera-python-assignments copied to clipboard

Unable to submit exercises

Open niha070rika opened this issue 3 years ago • 4 comments

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

niha070rika avatar Jun 19 '21 15:06 niha070rika

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

dibgerge avatar Jul 15 '21 07:07 dibgerge

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?

shsh9625 avatar Aug 03 '21 19:08 shsh9625

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

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

julle1903 avatar Oct 03 '21 17:10 julle1903

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.

shsh9625 avatar Oct 24 '21 16:10 shsh9625