Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not intall the package torch==0.3.1 #13

Open
walide67 opened this issue Apr 11, 2019 · 2 comments
Open

can not intall the package torch==0.3.1 #13

walide67 opened this issue Apr 11, 2019 · 2 comments

Comments

@walide67
Copy link

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 ??

@kkonevets
Copy link

kkonevets commented Apr 12, 2019

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

@walide67
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants