It was a long time ago and I do not remember anymore what I changed. Is it possible to go to the first version. I would like to replace it with the original code. Is it possible?
Here is the complete guide on how to get a clean copy of your assignment.
I did it before and I did it just right now.
Cell #9. Can't compile the student's code. Error: ValueError('not enough values to unpack (expected 2, got 0)')
Traceback (most recent call last):
File "/home/www/app/grading/exceptions.py", line 112, in handle_solution_errors
yield {}
File "/home/www/app/grading/abstract.py", line 393, in _grade
context = compiled_code.run(cell_index=cell.index)
File "/home/www/app/grading/submission/compiled_code.py", line 195, in run
return list(self._code_items.values())[cell_num - 1].run()
File "/home/www/app/grading/submission/compiled_code.py", line 54, in run
return import_module(self.import_statement, items)
File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/tmp/student_solution_cells/cell_9.py", line 25, in <module>
generate_split_viz(root_indices, left_indices, right_indices, feature)
File "/tmp/utils.py", line 32, in generate_split_viz
G.add_node(idx,image= generate_node_image(indices))
File "/tmp/utils.py", line 9, in generate_node_image
widths, heights = zip(*(i.size for i in images))
ValueError: not enough values to unpack (expected 2, got 0)
I have still the same error ![]()
You have to check how you are implementing the split_dataset code. Hints and more hints are given to you just below that cell. Give it a try.
This is not clear to me. I expect that it works before I change anything.
I didn’t get you. You have to write your code between two lines:
### START CODE HERE ###
### END CODE HERE ###
After writing your code correctly, it will work.
Hi @Zuhal,
Besides Saif’s suggestion which is critical to follow, in the following cell that will do three printings,
what output do you see? can you copy and paste the output here?
To see the printings, you will need to open the assignment notebook, and run all the cells (do not submit it - just run all the cells).
If you see any error while running the cells, please also copy and paste the whole error message here.
Raymond
Hi Zuhal! Regarding uploading photos, can you try using a different browser or connecting to a different network (if available)? If you have another device, you can also try uploading there. Just want to check if this is a network or device related issue before escalating to the community team. Thanks!
Hi, please send me your **pdf file with the print screens that contain errors via this email alextakele16@gmailcom sure we will sole it
I was on a vacation. Just right now I sent you the pdf file. Thanks for your help.
I tried with mozilla and with Edge. Both are not working.
I know it. This is not my first Lab.
sure I am running all the cells. No errors while running the cells. For the first code I get “all tests passed”.
Hello @Zuhal,
What about these?
I give you permission to use my account. I do not see any difference there.
I give you permission to use my account.
is there an update for my issue?
is there an update for my issue?
you can login to my account
Hello Sir, Sorry I were very busy this week, I will soon and notify you
