Closed SiriusZbz closed 7 months ago
You can use tree
command to show the file structure of your directory to find the ckpt.
Here is an example:
╰─$ tree cartpole_dqn_seed0 130 ↵
cartpole_dqn_seed0
├── ckpt
│ ├── ckpt_best.pth.tar
│ ├── iteration_0.pth.tar
│ ├── iteration_546.pth.tar
│ ├── iteration_630.pth.tar
│ └── iteration_672.pth.tar
├── collect_demo_data_config.py
├── formatted_collect_demo_data_config.py
├── formatted_total_config.py
├── log
│ ├── buffer
│ │ └── buffer_logger.txt
│ ├── collector
│ │ └── collector_logger.txt
│ ├── evaluator
│ │ └── evaluator_logger.txt
│ ├── learner
│ │ └── learner_logger.txt
│ └── serial
│ ├── events.out.tfevents.1650548474.CN0014009700M.local
│ ├── events.out.tfevents.1650601377.CN0014009700M.local
│ ├── events.out.tfevents.1660579584.CN0014009700M.local
│ ├── events.out.tfevents.1660579735.CN0014009700M.local
│ ├── events.out.tfevents.1660579895.CN0014009700M.local
│ └── events.out.tfevents.1660579900.CN0014009700M.local
├── result.pkl
└── total_config.py
7 directories, 20 files
thanks,i have solved this problem.
FileNotFoundError: [Errno 2] No such file or directory: '../exp/MMM/qmix/1/ckpt_BaseLearner_Wed_Jul_14_22_16_56_2021/iteration_9900.pth.tar'