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

Bug when using --validate flag #1775

Open
lcadalzo opened this issue Nov 25, 2022 · 0 comments
Open

Bug when using --validate flag #1775

lcadalzo opened this issue Nov 25, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@lcadalzo
Copy link
Contributor

When using the --validate flag, I get the following error:

Traceback (most recent call last):
File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/workspace/armory/scenarios/main.py", line 226, in <module>
run_validation(args.config, args.from_file)
File "/workspace/armory/scenarios/main.py", line 98, in run_validation
with test_path_context as test_path:
File "/opt/conda/lib/python3.9/contextlib.py", line 119, in __enter__
return next(self.gen)
File "/opt/conda/lib/python3.9/importlib/resources.py", line 175, in _path_from_reader
opener_reader = reader.open_resource(norm_resource)
File "<frozen importlib._bootstrap_external>", line 1055, in open_resource
IsADirectoryError: [Errno 21] Is a directory: '/workspace/armory/validation/test_config

I'm running the following command from the rc0.16.1 branch:

python -m armory run scenario_configs/mnist_baseline.json --validate

@lcadalzo lcadalzo added the bug Something isn't working label Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant