Skip to content

Value 'mask_only' not found in config #293

Closed as not planned
Closed as not planned

Description

@PhucLee2605

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

Activity

  1. Rikorose commented on Apr 11, 2023

    @Rikorose
    Owner

    Hm not sure, I cannot reproduce this

  2. neural-loop commented on May 15, 2023

    @neural-loop

    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)

  3. PhucLee2605 commented on May 19, 2023

    @PhucLee2605
    Author

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

  4. neural-loop commented on May 19, 2023

    @neural-loop

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

  5. grazder commented on May 30, 2023

    @grazder
    Contributor

    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)

  6. github-actions commented on Aug 29, 2023

    @github-actions

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions