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

Error with DLC iteration > 0 #18

Open
marierosegreaney opened this issue Jun 25, 2021 · 0 comments
Open

Error with DLC iteration > 0 #18

marierosegreaney opened this issue Jun 25, 2021 · 0 comments

Comments

@marierosegreaney
Copy link

Hi all,

Ran into an error with the run_dgp_demo pipeline when I tried to use it on a project that had two DLC iterations (iteration-0 and iteration-1) --

File "[my home directory]/deepgraphpose/src/deepgraphpose/utils_model.py", line 93, in get_train_config
    TrainingFraction = cfg['TrainingFraction'][iteration]
IndexError: list index out of range

My project's config.yaml has "iteration: 1", which I think is causing this problem. It only has one value to index for TrainingFraction.

So far, I've fixed it in a hacky way by changing line 93 of utils_model.py to index using 0 rather than iteration. Runs just fine for me after that. (Not sure if that fix would cause other problems for folks with more than one TrainingFraction value...)

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