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

question about code #6

Closed
xiaomanZ613 opened this issue Mar 16, 2021 · 1 comment
Closed

question about code #6

xiaomanZ613 opened this issue Mar 16, 2021 · 1 comment

Comments

@xiaomanZ613
Copy link

Hi,
Thanks for your great work!
I get errors after run the instruction:
When I run train_many_cluster.py
the errors as follows:
Traceback (most recent call last):
File "/home/zxm/Test/fine-grained-segmentation-networks/train/train_many_clustering.py", line 49, in
train_with_clustering_experiment(args.copy())
File "/home/zxm/Test/fine-grained-segmentation-networks/train/train_with_clustering.py", line 537, in train_with_clustering_experiment
save_folder, tmp_folder = generate_name_of_result_folder(args)
File "/home/zxm/Test/fine-grained-segmentation-networks/train/train_with_clustering.py", line 519, in generate_name_of_result_folder
return os.path.join(results_path, result_folder), os.path.join(global_opts['cache_path'], result_folder)
KeyError: 'cache_path'
We hope to get your help!

@maunzzz
Copy link
Owner

maunzzz commented Mar 16, 2021

Hi,
You need to add a cache_path in your global_opts.json file

@maunzzz maunzzz closed this as completed Mar 16, 2021
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

2 participants