Closed 774911840 closed 2 years ago
Hi @774911840, thanks for using OpenMixup
. Currently, OpenMixup
only works on Linux systems (e.g., Ubuntu18.04) and we haven't tested it on Windows. Since faiss
is only used in openmixup/third_party/clustering.py
for DeepCluster and ODC, you can try the following steps to install without faiss-gpu-1.6.1
on Windows:
requirements/runtime.txt
.openmixup/third_party/clustering.py
as
try:
import faiss
except:
faiss = None
python setup.py develop
.Please feel free to ask me if you have more questions. We hope this would help you!
Hi @Lupin1998,thank you so much for your help.I notice you haven't tested it on windows,and i run code on windows successfully.But there are a few bugs in code,and i write them down here.
tools/train.py
as
set_random_seed(seed, deterministic=args.deterministic)
openmixup/utils/collect_env.py
,i think this suit linux.
After that,code can run on windows.Hi, @774911840, thanks for testing OpenMixup
on Windows and fixing potential bugs. Fortunately, the bugs you mentioned do not affect performances.
tools/train.py
. We will fix this bug in the next commit.openmixup/utils/collect_env.py
is used for Linux.Thanks again for your efforts.
when i run:python setup.py develop,there is a problem,i paste it down here
It looks like can't install faiss.I try to install faiss through pip command,but don't work. Please help me.