Skip to content

KeyError: (0, None) #7

@olivethebrain

Description

@olivethebrain

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions