[Bug]: Failed to run Towhee on Conda
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
Current Behavior
>>> from towhee import pipeline
>>> embedding_pipeline = pipeline('towhee/audio-embedding-vggish')
Downloading audio_embedding_vggish.yaml: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 1.49k/1.49k [00:00<00:00, 280kiB/s]
Downloading README.md: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 1.53k/1.53k [00:00<00:00, 582kiB/s]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/gexi/miniconda3/envs/towhee_env/lib/python3.6/site-packages/towhee/__init__.py", line 114, in pipeline
pipeline_ = Pipeline(str(yaml_path))
File "/Users/gexi/miniconda3/envs/towhee_env/lib/python3.6/site-packages/towhee/engine/pipeline.py", line 41, in __init__
self._graph_repr = GraphRepr.from_yaml(graph_repr)
File "/Users/gexi/miniconda3/envs/towhee_env/lib/python3.6/site-packages/towhee/dag/graph_repr.py", line 229, in from_yaml
return GraphRepr.from_dict(info)
File "/Users/gexi/miniconda3/envs/towhee_env/lib/python3.6/site-packages/towhee/dag/graph_repr.py", line 183, in from_dict
if not BaseRepr.is_valid(info, {'name', 'operators', 'dataframes'}):
File "/Users/gexi/miniconda3/envs/towhee_env/lib/python3.6/site-packages/towhee/dag/base_repr.py", line 55, in is_valid
info_keys = set(info.keys())
AttributeError: 'str' object has no attribute 'keys'
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- Towhee version(e.g. v0.1.3 or 8b23a93): 0.4.0
- OS(Ubuntu or CentOS):
- CPU/Memory:
- GPU:
- Others:
Anything else?
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Issues Β· towhee-io/towhee - GitHub
Towhee is a framework that is dedicated to making neural data processing pipelines ... [Bug]: Running operator failed for reporting lots of modules...
Read more >conda returns 'Solving environment: failed' - Stack Overflow
I use it regularly since years but lately, since I installed the python module scp (with the command conda install scp , I...
Read more >MCCCS Towhee Activity - SourceForge
Hi, While installing towhee, I received an error 127 while giving a command make towhee. Could you please help me with resolving the...
Read more >runtimeerror: pytorchstreamreader failed reading zip archive ...
hi, when I run 'python main.py', there is a bug"RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory". so i justΒ ...
Read more >UoY - River Thames Conditions
Pacar 5 langkah koplo, Hurby luv bug producer, Oliveto dun laoghaire closed, ... Rosamel araya, Pv3 condo for rent, Ph 101 sdsu, Minecraft...
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
In conda, we didnβt publish 0.4.0, we will fix it soon.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Rotten issues close after 30d of inactivity. Close the stale issues and pull requests after 7 days of inactivity. Reopen the issue with
/reopen
.