zhangzc21 / DynTet

178 stars 21 forks source link

ModuleNotFoundError: No module named 'evaluate_utils' #12

Closed schxnhxlz closed 2 months ago

schxnhxlz commented 2 months ago

Hey there,

again. Great Project! I sucessfully managed to complete the training on a GCP Ubuntu 20.04 VM Instance. But after the training I try to evaluate and get this error. Any Idea whats happening here?

Screenshot 2024-04-25 at 06 01 43

File Structure:

Screenshot 2024-04-25 at 06 03 28

Thanks!

schxnhxlz commented 2 months ago

I added import sys sys.path.insert(0, '/home/user/DynTet') at the very beginning of evaluate.py and it worked.

Closed

hereTac commented 2 months ago

I added import sys sys.path.insert(0, '/home/user/DynTet') at the very beginning of evaluate.py and it worked.

Closed

Yep. Or just change the path. from evaluate_utils.metrics import PSNRMeter, LPIPSMeter, LMDMeter, FIDMeter, ArcfaceMeter from metrics import PSNRMeter, LPIPSMeter, LMDMeter, FIDMeter, ArcfaceMeter