Open walide67 opened 5 years ago
Look at how I have modified this repo https://github.com/kkonevets/deepmatcher
You should be able to install it with latest pytorch and torchtext and it will work (I tested it). You should set device - CPU or cuda manually.
The only difference is that it makes early stopping using logloss and not F1 score. I noticed that on my data F1 score leads to over fitting
i cloned your repo above and i try to install it i get this error massege:
c:\users\walid\appdata\local\temp\pip-install-fqf_w5jo\fasttextmirror\src\productquantizer.h(31): warning C4305: 'initialisation'ÿ: troncation de 'double' … 'const fasttext::real' src\productquantizer.cc(132): error C2039: 'to_string'ÿ: n'est pas membre de 'std' C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include\numeric(14): note: voir la d‚claration de 'std' src\productquantizer.cc(132): error C3861: 'to_string'ÿ: identificateur introuvable src\productquantizer.cc(132): error C2512: 'std::invalid_argument'ÿ: aucun constructeur par d‚faut appropri‚ disponible src\productquantizer.cc(132): note: Aucun constructeur n'a pu prendre le type de source, ou la r‚solution de la surcharge du constructeur ‚tait ambigu‰ error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe' failed with exit status 2
how i can fix it thanks
when i want to intall deepmatcher packege i get this error massage : Could not find a version that satisfies the requirement torch==0.3.1 (from deepmatcher==0.1.0.post1) (from versions: 0.1.2, 0.1.2.post1) No matching distribution found for torch==0.3.1 (from deepmatcher==0.1.0.post1)
any solution please !! i have windows 10 and i use python 3.6 and how i can install it with conda ??