Open Lyn-Qiu opened 2 years ago
FileNotFoundError: [Errno 2] No such file or directory: './tmp/cartpole/cartpole-swingup-06-22-im84-b128-s202969-pixel/args.json'
Because the os.mkdir is similar with the command mkdir in the shell. If you haven't created the tmp directory before, the command mkdir ./tmp/cartpole/ will exit with an error .
os.mkdir
mkdir
tmp
mkdir ./tmp/cartpole/
FileNotFoundError: [Errno 2] No such file or directory: './tmp/cartpole/cartpole-swingup-06-22-im84-b128-s202969-pixel/args.json'