zhangxinyu-xyz / PAST-ReID

Self-Training with Progressive Augmentation for Unsupervised Cross-Domain Person Re-identification (ICCV2019)
MIT License
99 stars 24 forks source link

Hi while training im getting bellow error #11

Open ssbilakeri opened 3 years ago

ssbilakeri commented 3 years ago

Hi, where is metric learn in your code??

Traceback (most recent call last): File "train.py", line 12, in from reid import datasets File "D:\PAST\reid__init.py", line 8, in from . import metric_learning File "D:\PAST\reid\metric_learning\init__.py", line 3, in from metric_learn import (ITML_Supervised, LMNN, LSML_Supervised, ModuleNotFoundError: No module named 'metric_learn'

zhangxinyu-xyz commented 3 years ago

Hi, where is metric learn in your code??

Traceback (most recent call last): File "train.py", line 12, in from reid import datasets File "D:\PAST\reidinit.py", line 8, in from . import metric_learning File "D:\PAST\reid\metric_learninginit.py", line 3, in from metric_learn import (ITML_Supervised, LMNN, LSML_Supervised, ModuleNotFoundError: No module named 'metric_learn'

Hi, before running the code, metric-learn should be installed. pip install metric-learn

ssbilakeri commented 3 years ago

Ya I have done it

On Mon, 1 Feb 2021, 4:26 pm Xinyu Zhang, notifications@github.com wrote:

Hi, where is metric learn in your code??

Traceback (most recent call last): File "train.py", line 12, in from reid import datasets File "D:\PAST\reidinit.py", line 8, in from . import metric_learning File "D:\PAST\reid\metric_learninginit.py", line 3, in from metric_learn import (ITML_Supervised, LMNN, LSML_Supervised, ModuleNotFoundError: No module named 'metric_learn'

Hi, before running the code, metric-learn should be installed. pip install metric-learn

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zhangxinyu-xyz/PAST-ReID/issues/11#issuecomment-770767797, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOOYJBJVD2NGGOBIT6MICWDS42CHTANCNFSM4W4R4LWA .

ssbilakeri commented 3 years ago

Is your code works on windows ??

On Mon, 1 Feb 2021, 4:36 pm Shavantrevva Bilakeri, ssbilakeri@gmail.com wrote:

Ya I have done it

On Mon, 1 Feb 2021, 4:26 pm Xinyu Zhang, notifications@github.com wrote:

Hi, where is metric learn in your code??

Traceback (most recent call last): File "train.py", line 12, in from reid import datasets File "D:\PAST\reidinit.py", line 8, in from . import metric_learning File "D:\PAST\reid\metric_learninginit.py", line 3, in from metric_learn import (ITML_Supervised, LMNN, LSML_Supervised, ModuleNotFoundError: No module named 'metric_learn'

Hi, before running the code, metric-learn should be installed. pip install metric-learn

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zhangxinyu-xyz/PAST-ReID/issues/11#issuecomment-770767797, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOOYJBJVD2NGGOBIT6MICWDS42CHTANCNFSM4W4R4LWA .

zhangxinyu-xyz commented 3 years ago

Is your code works on windows ?? On Mon, 1 Feb 2021, 4:36 pm Shavantrevva Bilakeri, ssbilakeri@gmail.com wrote: Ya I have done it On Mon, 1 Feb 2021, 4:26 pm Xinyu Zhang, @.***> wrote: > Hi, > where is metric learn in your code?? > > Traceback (most recent call last): > File "train.py", line 12, in > from reid import datasets > File "D:\PAST\reidinit.py", line 8, in > from . import metric_learning > File "D:\PAST\reid\metric_learninginit.py", line 3, in > from metric_learn import (ITML_Supervised, LMNN, LSML_Supervised, > ModuleNotFoundError: No module named 'metric_learn' > > Hi, before running the code, metric-learn should be installed. > pip install metric-learn > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <#11 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AOOYJBJVD2NGGOBIT6MICWDS42CHTANCNFSM4W4R4LWA > . >

Sorry, I just try my code on Ubuntu. I don't know whether it works or not on windows. If the requirements are well installed, I think it will work.