Artificial Neural Networks and Deep Learning 2023 - Homework 2 Forum

Go back to competition Back to thread list Post in this thread

> Prohibited code?

Trying to submit exactly the same code as Phase 1 (except for selecting the right output size only by changing the indexing) I got this error:

File "/multiverse/storage/lattari/Prj/postdoc/Courses/AN2DL_2023/Competition2_running_dir/worker_gpu5_dir/tmp/codalab/tmpVqDIMj/run/program/score.py", line 127, in
raise Exception('Attempting to use prohibited code: {}. Bye!'.format(b_k))
Exception: Attempting to use prohibited code: print. Bye!

What could be the reason? Exception message is not so clear...

Posted by: FilippoDallac @ Dec. 20, 2023, 8:48 p.m.

Solved! Just forgot to delete a "print()" in the code...
I'll leave the thread here if anybody has the same issue

Posted by: FilippoDallac @ Dec. 20, 2023, 9:02 p.m.
Post in this thread