ImportError:Cannot import name 'metric_main' from 'metrics'
Author: lettersontherocksCreated Mar 11, 2024Updated Sep 11, 2024
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.
Source: XingangPan/DragGAN