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

Training error - ValueError: 'default' must be a list when 'multiple' is true. #40

Open
tribeband opened this issue Nov 14, 2023 · 2 comments

Comments

@tribeband
Copy link

Traceback (most recent call last):
File "d:\gitdownload\TS\Anomaly_detection\Deep-SVDD-PyTorch\src\main.py", line 56, in
def main(dataset_name, net_name, xp_path, data_path, load_config, load_model, objective, nu, device, seed,
File "C:\Users\PC.conda\envs\TS\lib\site-packages\click\decorators.py", line 373, in decorator
_param_memo(f, cls(param_decls, **attrs))
File "C:\Users\PC.conda\envs\TS\lib\site-packages\click\core.py", line 2536, in init
super().init(param_decls, type=type, multiple=multiple, **attrs)
File "C:\Users\PC.conda\envs\TS\lib\site-packages\click\core.py", line 2151, in init
raise ValueError(
ValueError: 'default' must be a list when 'multiple' is true.

will you please help on this?

@AlejandraM97
Copy link

I have the same error! Do you know why it appears? It would be very helpful!

@saharlynds
Copy link

instead of default=0 you should use default = [0], the error will be fixed!

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

3 participants