CPCStoryVisualization-Pytorch icon indicating copy to clipboard operation
CPCStoryVisualization-Pytorch copied to clipboard

How to evaluate the model? ('script_inference.sh' missing)

Open sws503 opened this issue 3 years ago • 0 comments

I want to evaluate the model but I can't find './script_inference.sh' file. (based on README.md)

So I set the cfg file into './output/final_model/setting.yml', but SameFileError occurs like this.

Traceback (most recent call last):
  File "/home/user01/wooseok/CPCStoryVisualization-Pytorch/main_pororo.py", line 137, in <module>
    algo = GANTrainer(output_dir, args, ratio=1.0)
  File "/home/user01/wooseok/CPCStoryVisualization-Pytorch/trainer.py", line 56, in __init__
    copyfile(args.cfg_file, output_dir + 'setting.yml')
  File "/home/user01/anaconda3/envs/video1/lib/python3.7/shutil.py", line 104, in copyfile
    raise SameFileError("{!r} and {!r} are the same file".format(src, dst))
shutil.SameFileError: './output/final_model/setting.yml' and './output/final_model/setting.yml' are the same file

Can you tell the command or upload 'script_inference.sh' file to evaluate the model?

sws503 avatar Mar 29 '21 05:03 sws503