Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list index out of range when Launch inference on one image in win10 #40

Open
sheismoon opened this issue Apr 2, 2023 · 0 comments
Open

Comments

@sheismoon
Copy link

when I :python main.py --run_name mapping_dataset.unet_resnet101_pretrained.train_val --in_filepath F:/gaojituxiangchuli/Polygonization-by-Frame-Field-Learnin
g-master/frame_field_learning/runs/1.jpg
I get : Traceback (most recent call last):
File "F:\gaojituxiangchuli\Polygonization-by-Frame-Field-Learning-master\main.py", line 387, in
ce_from_filepath
run_dirpath = frame_field_learning.local_utils.get_run_dirpath(args.runs_dirpath, run_name)
File "F:\gaojituxiangchuli\Polygonization-by-Frame-Field-Learning-master\frame_field_learning\local_utils.py",
line 81, in get_run_dirpath ce_from_filepath
run_dirpath = run_utils.setup_run_dir(runs_dir, run_name, check_exists=True)
File "F:\gaojituxiangchuli\Polygonization-by-Frame-Field-Learning-master\lydorn_utils\run_utils.py", line 580, line 81, in get_run_dirpath
in setup_run_dir ce_from_filepath
run_dirpath = frame_field_learning.local_utils.get_run_dirpath(args.runs_dirpath, run_name)
File "F:\gaojituxiangchuli\Polygonization-by-Frame-Field-Learning-master\frame_field_learning\local_utils.py", line 81, in get_run_dirpath
run_dirpath = run_utils.setup_run_dir(runs_dir, run_name, check_exists=True)
File "F:\gaojituxiangchuli\Polygonization-by-Frame-Field-Learning-master\lydorn_utils\run_utils.py", line 580, in setup_run_dir
filtered_existing_run_timestamps = [filtered_existing_run_dirname.split(" | ")[1] for
File "F:\gaojituxiangchuli\Polygonization-by-Frame-Field-Learning-master\lydorn_utils\run_utils.py", line 580, in
filtered_existing_run_timestamps = [filtered_existing_run_dirname.split(" | ")[1] for
IndexError: list index out of range
Could you pls give me some hint? Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant