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

local variable 'chkpt_max' referenced before assignment #5

Open
pongopal opened this issue Dec 13, 2020 · 0 comments
Open

local variable 'chkpt_max' referenced before assignment #5

pongopal opened this issue Dec 13, 2020 · 0 comments

Comments

@pongopal
Copy link

Traceback (most recent call last):
File "tr_unet_with_deformation_intensity_cgans_augmentations.py", line 217, in
mp=get_max_chkpt_file(model_path)
File "../utils.py", line 310, in get_max_chkpt_file
fin_chkpt_max = re.sub('.meta$', '', chkpt_max)
UnboundLocalError: local variable 'chkpt_max' referenced before assignment

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