Getting an error on submission even when test function is returning success. this cell is the get_noise function
Cell #UNQ_C3. Can’t compile the student’s code. Error: SyntaxError(‘invalid syntax’, (‘/tmp/student_solution_cells/cell_6.py’, 21, 9, ’ noise = ********************)
Part of code is hidden by asteriks(*******************) in order to prevent violation of coursera honor code
TMosh
2
Please post your entire error message, without the asterisks.
It’s OK to post error messages, even if they contain some code.
Cell #UNQ_C3. Can’t compile the student’s code. Error: SyntaxError(‘invalid syntax’, (‘/tmp/student_solution_cells/cell_6.py’, 21, 9, ’ noise = torch.randn(n_samples, z_dim, device=device)\n’))
TMosh
4
Thanks. Hopefully a mentor for your course will have a suggestion.
Nydia
5
Can you please share a snapshot from the cell (the one marking the success and the one that shows the error)?