MockingBird 求助:AttributeError: module 'umap' has no attribute 'UMAP'

mm9b1k5b  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(40)

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'
fzsnzjdm

fzsnzjdm1#

同样遇到了这个问题

edqdpe6u

edqdpe6u2#

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'

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

相关问题