pathnet-pytorch icon indicating copy to clipboard operation
pathnet-pytorch copied to clipboard

KeyError: (0, None)

Open olivethebrain opened this issue 6 years ago • 0 comments

Hi! I'm trying to run the program but always have an error:

Traceback (most recent call last): File "main.py", line 258, in main() File "main.py", line 190, in main visualizer.set_fixed(best_path, 'r') File "/home/user/anaconda/envs/pytorch/test/pathnet-pytorch/visualize.py", line 43, in set_fixed layer_path.append(self.node_ids[(layer_num, num)]) KeyError: (0, None)

I have no сuda, but even with '--no-cuda' argument it is still not working. What am I doing wrong? Thanks.

olivethebrain avatar Feb 09 '19 10:02 olivethebrain