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

Value 'mask_only' not found in config #293

Closed
PhucLee2605 opened this issue Apr 5, 2023 · 6 comments
Closed

Value 'mask_only' not found in config #293

PhucLee2605 opened this issue Apr 5, 2023 · 6 comments
Labels

Comments

@PhucLee2605
Copy link

I have just pip deepfilternet from Pypi, torch==1.13.1 and I try to run provided python script for inferring df.enhance. The ValueError returned "Value 'mask_only' not found in config"
image

@Rikorose
Copy link
Owner

Hm not sure, I cannot reproduce this

@neural-loop
Copy link

neural-loop commented May 15, 2023

I have the same error when I tried to run the script. It ran after I updated to
# mask_only = config("mask_only", cast=bool, section="train", default=False, save=False)
model, epoch = load_model_cp(checkpoint_dir, df_state, epoch=epoch, mask_only=False)

@PhucLee2605
Copy link
Author

@neural-loop I'm still struggling with this problem, can you please show me a complete code snippet for using it?

@neural-loop
Copy link

neural-loop commented May 19, 2023

@PhucLee2605 It's line 132 in enhance.py of the deepfilter library.

@grazder
Copy link
Contributor

grazder commented May 30, 2023

i've fixed this problem with flag config_allow_defaults=True, but i'm not sure if model with run properly with this flag
(i'm using for inference only right now)

@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Aug 29, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants