KeyError: 'pipeline' when running ns-train
See original GitHub issueDescribe the bug I just did a fresh install of Anaconda3 & nerf studio, following the guide at https://docs.nerf.studio/en/latest/quickstart/installation.html
When running ns-train
, even without any arguments, I get the following error:
Traceback (most recent call last):
File "/home/josh/anaconda3/envs/nerfstudio/bin/ns-train", line 8, in <module>
sys.exit(entrypoint())
File "/home/josh/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/scripts/train.py", line 249, in entrypoint
tyro.cli(
File "/home/josh/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/tyro/_cli.py", line 125, in cli
_cli_impl(
File "/home/josh/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/tyro/_cli.py", line 289, in _cli_impl
parser_definition.apply(parser)
File "/home/josh/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/tyro/_parsers.py", line 241, in apply
prev_subparser_tree_nodes = subparsers.apply(
File "/home/josh/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/tyro/_parsers.py", line 499, in apply
subparser_def.apply(subparser)
File "/home/josh/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/tyro/_parsers.py", line 235, in apply
arg.add_argument(group_from_prefix[arg.prefix])
KeyError: 'pipeline'
To Reproduce Not sure exactly how to reproduce, other than to follow the installation instructions.
Additional context Running in WSL2, Ubuntu 20.04.4, Anaconda 22.9.0, and nerfstudio 0.1.7 is installed - I tried with 0.1.6 as well.
Weirdly, this was working yesterday with a previous installation on the same machine. I reinstalled Anaconda and the nerfstudio env to try to fix an instant-ngp issue, but nerfacto was working yesterday.
Any thoughts on what could be going on here?
Issue Analytics
- State:
- Created a year ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
KeyError("[E900] Could not run the full pipeline for evaluation ...
Aborting and saving the final best model. Encountered exception: KeyError("[E900] Could not run the full pipeline for evaluation.
Read more >KeyError: 'Nextclade_pango' in ncov build - General
The input data is from ncov-ingest , filtered with augur filter , so the fields in the metadata file are strain virus gisaid_epi_isl ......
Read more >Error when running cross_val_score - raise KeyError(key ...
I can run a manual fit/transform on the numeric pipeline without any errors: fulldf = full_pipeline.fit_transform(train).
Read more >Snakemake for Bioinformatics - The Carpentries Incubator
Instruct Snakemake how to build the genome index as part of the pipeline by adding another rule. The command we need to run...
Read more >ovito.data — OVITO Scripting Reference 3.7.12 documentation
This Python module defines various data object types, which are produced and processed within OVITO's data pipeline system.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i used the command
pip install --upgrade tyro==0.3.27
to do that (to save a few seconds of googling for anyone here)Just yanked 0.3.28 from PyPI, sorry for the inconvenience!
Will make sure whatever’s causing this is in tyro’s unit tests before re-releasing.