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 'umap' has no attribute 'UMAP' #805

Open
heziyu2025 opened this issue Dec 21, 2022 · 2 comments
Open

求助:AttributeError: module 'umap' has no attribute 'UMAP' #805

heziyu2025 opened this issue Dec 21, 2022 · 2 comments

Comments

@heziyu2025
Copy link

Summary[问题简述(一句话)]
在Windows上运行出现问题:module 'umap' has no attribute 'UMAP'
在训练声码器和启动demo时都出现了这个问题

Env & To Reproduce[复现与环境]

Traceback (most recent call last):
  File "D:\MockingBird\encoder_train.py", line 46, in <module>
    train(**vars(args))
  File "D:\MockingBird\encoder\train.py", line 100, in train
    vis.draw_projections(embeds, utterances_per_speaker, step, projection_fpath)
  File "D:\MockingBird\encoder\visualizations.py", line 164, in draw_projections
    reducer = umap.UMAP()
AttributeError: module 'umap' has no attribute 'UMAP'
@heziyu2025 heziyu2025 changed the title windows module 'umap' has no attribute 'UMAP' 求助:AttributeError: module 'umap' has no attribute 'UMAP' Dec 21, 2022
@zky001
Copy link

zky001 commented Feb 18, 2023

同样遇到了这个问题

@HaSaKiYasuooo
Copy link

Summary[问题简述(一句话)] 在Windows上运行出现问题:module 'umap' has no attribute 'UMAP' 在训练声码器和启动demo时都出现了这个问题

Env & To Reproduce[复现与环境]

Traceback (most recent call last):
  File "D:\MockingBird\encoder_train.py", line 46, in <module>
    train(**vars(args))
  File "D:\MockingBird\encoder\train.py", line 100, in train
    vis.draw_projections(embeds, utterances_per_speaker, step, projection_fpath)
  File "D:\MockingBird\encoder\visualizations.py", line 164, in draw_projections
    reducer = umap.UMAP()
AttributeError: module 'umap' has no attribute 'UMAP'

请问一下,如何解决这个问题,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants