mjkwon2021 / CAT-Net

Official code for CAT-Net: Compression Artifact Tracing Network. Image manipulation detection and localization.
210 stars 25 forks source link

CAT_full.yaml' #5

Closed dan326326 closed 2 years ago

dan326326 commented 2 years ago

hello, I followed your steps to run the code, but the following error occurred. I checked the file directory and there was no problem. Could you give me some advice? Thank you very much

Traceback (most recent call last): File "/home/x1234/Dan/Dan_test/CAT/tools/train.py", line 233, in main() File "/home/x1234/Dan/Dan_test/CAT/tools/train.py", line 73, in main update_config(config, args) File "/home/x1234/Dan/Dan_test/CAT/tools/../lib/config/default.py", line 114, in update_config cfg.merge_from_file(args.cfg) File "/home/x1234/anaconda3/envs/cat/lib/python3.6/site-packages/yacs/config.py", line 211, in merge_from_file with open(cfg_filename, "r") as f: FileNotFoundError: [Errno 2] No such file or directory: 'experiments/CAT_full.yaml'

Process finished with exit code 1

CauchyComplete commented 2 years ago

Hi,

Possibly you might have run train.py at tools directory.

You should run it at the root of this repo.

dan326326 commented 2 years ago

THANK YOU! i have solved this problem.