Skip to content

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

@sws503

Description

@sws503

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions