idiap / attention-sampling

This Python package enables the training and inference of deep learning models for very large data, such as megapixel images, using attention-sampling
Other
97 stars 18 forks source link

RuntimeError: Couldn't compile and install ats.ops.extract_patches.libpatches #10

Open xin-peng opened 4 years ago

xin-peng commented 4 years ago

Hello, I am trying to install the package manually with "python setup.py instsall". However, I have a RuntimeError: Couldn't compile and install ats.ops.extract_patches.libpatches image image I have tried the method from other posts, including install it by python and adding set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") to Cmakelist.txt. However, I still cannot solve my problem.

angeloskath commented 4 years ago

Hi,

It seems there is a TensorFlow function missing. Which version of TensorFlow are you using? Version 1.13 and g++ 4.8 have been tested and work.

I will try to perform a clean install (with a new TF) one of these and write here again.

Cheers, Angelos

xin-peng commented 4 years ago

Hi, I am working on TensorFlow 1.13.1 and I have installed g++ 4.8 for installing package

angeloskath commented 4 years ago

Sorry for the late reply.

It seems that people are experiencing problems with the installation both in Windows and Mac which is relatively hard to debug since I have access to neither.

Have you made any progress to the installation issues?

xin-peng commented 4 years ago

Hello, I didn't make any progress in installation.