orsic / swiftnet

GNU General Public License v3.0
251 stars 54 forks source link

Torch version #5

Closed ToniRV closed 4 years ago

ToniRV commented 5 years ago
Could not find a version that satisfies the requirement torch==1.0.0a0+db5d313 (from -r requirements.txt (line 2)) (from versions: 0.1.2, 0.1.2.post1, 0.4.1, 0.4.1.post2, 1.0.0, 1.0.1, 1.0.1.post2)
No matching distribution found for torch==1.0.0a0+db5d313 (from -r requirements.txt (line 2))

Is it ok to use 1.0.0?

orsic commented 5 years ago

@ToniRV yes, everything should work on 1.0.0

moonmyth commented 5 years ago

@orsic ,when i run model,i meet a question:(import lib.cylib as cylib,ModuleNotFoundError: No module named 'lib.cylib'),can u give some advise?

captainfffsama commented 5 years ago

@orsic ,when i run model,i meet a question:(import lib.cylib as cylib,ModuleNotFoundError: No module named 'lib.cylib'),can u give some advise?

Hi,do you fix this problem? I get this error message too... If u have fix this problem, please give me some advise.

orsic commented 5 years ago

@moonmyth @hqabcxyxz inside the lib/ directory, run the build.sh script to build the Cython module used for evaluation.

YanaShpot commented 4 years ago

To make it work needed to modify build.sh as follows:

g++ -shared -pthread -fPIC -fwrapv -O3 -Wall -fno-strict-aliasing -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/python3.6 -o cylib.so cylib.cc