XingangPan / DragGAN

Official Code for DragGAN (SIGGRAPH 2023)

Home Page:https://vcai.mpi-inf.mpg.de/projects/DragGAN/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError:Cannot import name 'metric_main' from 'metrics'

lettersontherocks opened this issue · comments

Traceback (most recent call last):
  File "D:\University\draggan\DragGAN\training\training_loop.py", line 31, in <module>
    from metrics import metric_main
ImportError: cannot import name 'metric_main' from 'metrics' (D:\software\Anaconda\Lib\site-packages\metrics\__init__.py)

I encountered this problem related to package 'metrics'. Does it have anything to do with the version?Because I checked the dir and cannot find metric_main. version 0.3.3.