FileNotFoundError: [Errno 2] No such file or directory: 'checkpoint/regular_c109_n32/conv2.yaml'
Closed this issue · 4 comments
Hello, I have an error message, I don't know if this file is missing. I hope to get your reply. Thank you。
FileNotFoundError: [Errno 2] No such file or directory: 'checkpoint/regular_c109_n32/conv2.yaml'
Can you give more error logs?
Enabled distributed training.
Enabled distributed training.
Enabled distributed training.
Enabled distributed training.
Enabled distributed training.
Enabled distributed training.
Enabled distributed training.
Enabled distributed training.
Traceback (most recent call last):
File "train.py", line 305, in
main()
File "train.py", line 57, in main
model = CNN(args)
File "/raid/home/leidaguo/nas/jiaminren/RandWireNN/model.py", line 114, in init
save_graph(graph, os.path.join(args.model_dir, 'conv2.yaml'))
File "/raid/home/leidaguo/nas/jiaminren/RandWireNN/utils.py", line 33, in save_graph
nx.write_yaml(graph, path)
File "", line 2, in write_yaml
File "/raid/home/leidaguo/anaconda3/lib/python3.6/site-packages/networkx/utils/decorators.py", line 205, in _open_file
fobj = _dispatch_dict[ext](path, mode=mode)
FileNotFoundError: [Errno 2] No such file or directory: 'checkpoint/regular_c109_n32/conv2.yaml'
Traceback (most recent call last):
File "train.py", line 305, in
main()
File "train.py", line 57, in main
model = CNN(args)
File "/raid/home/leidaguo/nas/jiaminren/RandWireNN/model.py", line 114, in init
save_graph(graph, os.path.join(args.model_dir, 'conv2.yaml'))
File "/raid/home/leidaguo/nas/jiaminren/RandWireNN/utils.py", line 33, in save_graph
nx.write_yaml(graph, path)
File "", line 2, in write_yaml
File "/raid/home/leidaguo/anaconda3/lib/python3.6/site-packages/networkx/utils/decorators.py", line 205, in _open_file
fobj = _dispatch_dict[ext](path, mode=mode)
FileNotFoundError: [Errno 2] No such file or directory: 'checkpoint/regular_c109_n32/conv2.yaml'
Traceback (most recent call last):
File "train.py", line 305, in
main()
File "train.py", line 57, in main
model = CNN(args)
File "/raid/home/leidaguo/nas/jiaminren/RandWireNN/model.py", line 114, in init
save_graph(graph, os.path.join(args.model_dir, 'conv2.yaml'))
File "/raid/home/leidaguo/nas/jiaminren/RandWireNN/utils.py", line 33, in save_graph
nx.write_yaml(graph, path)
File "", line 2, in write_yaml
File "/raid/home/leidaguo/anaconda3/lib/python3.6/site-packages/networkx/utils/decorators.py", line 205, in _open_file
fobj = _dispatch_dict[ext](path, mode=mode)
FileNotFoundError: [Errno 2] No such file or directory: 'checkpoint/regular_c109_n32/conv2.yaml'
Traceback (most recent call last):
File "train.py", line 305, in
main()
File "train.py", line 57, in main
model = CNN(args)
File "/raid/home/leidaguo/nas/jiaminren/RandWireNN/model.py", line 114, in init
save_graph(graph, os.path.join(args.model_dir, 'conv2.yaml'))
File "/raid/home/leidaguo/nas/jiaminren/RandWireNN/utils.py", line 33, in save_graph
nx.write_yaml(graph, path)
File "", line 2, in write_yaml
File "/raid/home/leidaguo/anaconda3/lib/python3.6/site-packages/networkx/utils/decorators.py", line 205, in _open_file
fobj = _dispatch_dict[ext](path, mode=mode)
FileNotFoundError: [Errno 2] No such file or directory: 'checkpoint/regular_c109_n32/conv2.yaml'
Traceback (most recent call last):
File "train.py", line 305, in
main()
File "train.py", line 57, in main
model = CNN(args)
File "/raid/home/leidaguo/nas/jiaminren/RandWireNN/model.py", line 114, in init
save_graph(graph, os.path.join(args.model_dir, 'conv2.yaml'))
File "/raid/home/leidaguo/nas/jiaminren/RandWireNN/utils.py", line 33, in save_graph
nx.write_yaml(graph, path)
File "", line 2, in write_yaml
File "/raid/home/leidaguo/anaconda3/lib/python3.6/site-packages/networkx/utils/decorators.py", line 205, in _open_file
fobj = _dispatch_dict[ext](path, mode=mode)
FileNotFoundError: [Errno 2] No such file or directory: 'checkpoint/regular_c109_n32/conv2.yaml'
Traceback (most recent call last):
File "train.py", line 305, in
main()
File "train.py", line 57, in main
model = CNN(args)
File "/raid/home/leidaguo/nas/jiaminren/RandWireNN/model.py", line 114, in init
save_graph(graph, os.path.join(args.model_dir, 'conv2.yaml'))
File "/raid/home/leidaguo/nas/jiaminren/RandWireNN/utils.py", line 33, in save_graph
nx.write_yaml(graph, path)
File "", line 2, in write_yaml
File "/raid/home/leidaguo/anaconda3/lib/python3.6/site-packages/networkx/utils/decorators.py", line 205, in _open_file
fobj = _dispatch_dict[ext](path, mode=mode)
FileNotFoundError: [Errno 2] No such file or directory: 'checkpoint/regular_c109_n32/conv2.yaml'
Check if the train.py executed successfully. And is the path(args.model_dir) existed.
check