NaJaeMin92 / CoVi

Official code for the ECCV 2022 paper "Contrastive Vicinal Space for Unsupervised Domain Adaptation"
18 stars 6 forks source link

What is the `network` version? #2

Open zws-2019 opened 1 year ago

zws-2019 commented 1 year ago

Traceback (most recent call last): File "main.py", line 9, in import utils File "/home/zhouwenshuo/workspace/domain_shift/nature/CoVi-master/utils.py", line 7, in from network import models ImportError: cannot import name 'models' from 'network' (/home/zhouwenshuo/anaconda3/envs/p38t/lib/python3.8/site-packages/network.py)`

Long-louis commented 5 months ago

This should be the wrong module. The source code is written to import models from network, but in fact, just change it to import models directly.