Hi @Naplessss , While using this demo, in Block `Infer from ckpt`, a `KeyError: 'unimol'` was raised.
See original GitHub issueHi @Naplessss , While using this demo, in Block Infer from ckpt
, a KeyError: 'unimol'
was raised.
File "/opt/anaconda3/envs/unimol/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 69, in _wrap
fn(i, *args)
File "/opt/anaconda3/envs/unimol/lib/python3.9/site-packages/unicore/distributed/utils.py", line 164, in distributed_main
main(args, **kwargs)
File "/root/Uni-Mol/unimol/infer.py", line 47, in main
task = tasks.setup_task(args)
File "/opt/anaconda3/envs/unimol/lib/python3.9/site-packages/unicore/tasks/__init__.py", line 22, in setup_task
return TASK_REGISTRY[args.task].setup_task(args, **kwargs)
KeyError: 'unimol'
This is the whole stack.
And I also print the TASK_REGISTRY
in unicore/tasks/__init__.py
. well, during running, that variable is {}
. Could you please tell me what happens, and how to solve this problem?
_Originally posted by @zhoubay in https://github.com/dptech-corp/Uni-Mol/issues/56#issuecomment-1287846430_
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
KeyError: 'this' , why this error happened? - Stack Overflow
KeyError is one of the simpler problems to debug in Python. A small amount of debugging on your part will almost always resolve...
Read more >Quote :: Checkpoint Therapeutics, Inc. (CKPT)
Stock Quote. Checkpoint Therapeutics Inc. NASDAQ Capital Market: CKPT. Use regions/landmarks to skip ahead to chart.
Read more >CKPT Price Action Main Menu Checkpoint Therapeutics
View statistical stock analysis for Checkpoint Therapeutics (CKPT). ... gap up moves, gap down moves, large percentage moves And block trades.
Read more >Checkpoint Therapeutics - CKPT Stock Forecast, Price & News
Researching Checkpoint Therapeutics? Get The Latest CKPT Stock Forecast, Price Target, Earnings Estimates, Headlines, Short Interest at MarketBeat.
Read more >$CKPT - Checkpoint Therapeutics Inc Stock - StockTwits
analyst Joseph Pantginis maintains Checkpoint Therapeutics with a Buy, adjusts price target to $76 - 1-for-10 reverse stock split.
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 set CUDA_VISIBLE_DEVICE to one GPU and can run this example. Hope it helps.
It works when I add a line in
infer.py
:os.environ['CUDA_VISIBLE_DEVICES']="0"
Thank you very much!