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

AttributeError: module 'openunmix' has no attribute 'Separator' #141

Closed
bgenchel opened this issue Apr 6, 2024 · 2 comments · Fixed by #144
Closed

AttributeError: module 'openunmix' has no attribute 'Separator' #141

bgenchel opened this issue Apr 6, 2024 · 2 comments · Fixed by #144
Labels
bug Something isn't working documentation

Comments

@bgenchel
Copy link

bgenchel commented Apr 6, 2024

🐛 Bug

see title, additionally, the one liner given in the README.md also results in:

>>> from openunmix import separate
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'separate' from 'openunmix' (/Users/benjamingenchel/.pyenv/versions/parts_order_3.11/lib/python3.11/site-packages/openunmix/__init__.py)

To Reproduce

Steps to reproduce the behavior:

  1. pip install openunmix
  2. in REPL or script, import openunmix
  3. attempt to use Separator as in the documentation
  4. attempt to use / run the one liner code

Expected behavior

as in the documentation, openunmix has a Separator class that can be used. Also you can import separate from openunmix as in the documentation.

Environment

Please add some information about your environment

  • PyTorch Version (e.g., 1.2): 2.2.2
  • OS (e.g., Linux): MacOS Sonoma 14.1
  • torchaudio loader (y/n):
  • Python version: 3.11.7
  • CUDA/cuDNN version:
  • Any other relevant information:

If unsure you can paste the output from the pytorch environment collection script
(or fill out the checklist below manually).

You can get that script and run it with:

wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py

Additional context

@faroit
Copy link
Member

faroit commented Apr 15, 2024

@bgenchel is this related to #142?

@bgenchel
Copy link
Author

it is related, I think the same issue in different contexts. Thanks for taking a look!

@faroit faroit linked a pull request Apr 16, 2024 that will close this issue
4 tasks
@faroit faroit added bug Something isn't working documentation labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants