NervanaSystems / neon

Intel® Nervana™ reference deep learning framework committed to best performance on all hardware
http://neon.nervanasys.com/docs/latest
Apache License 2.0
3.87k stars 811 forks source link

cannot import aeon Dataloader since update to aeon 1.0.0 #404

Closed Drea1989 closed 7 years ago

Drea1989 commented 7 years ago

hello, since i have updated to neon 2.2 and aeon 1.0 i can't import the dataloader class, error import failed. system: ubuntu 16.04 CUDA 8.0 GTX1080 i am using Anaconda environments. i tried installing neon in a new environment both in python 3.5 and 2.7 and failing with same error. i tried checking out the tag v1.7.0 but now even this seems to not work anymore. do you have any suggestion? thanks

ldurka commented 7 years ago

Hi, To reproduce Your issue I've used clean docker image and Ubuntu:16.04 I've installed anacoda and all required packages

apt-get update && apt-get install -y bzip2 git cmake clang pkg-config sox lib-sox libopencv-dev python-opencv libcurl4-openssl-dev
wget https://repo.continuum.io/archive/Anaconda2-5.0.0.1-Linux-x86_64.sh
bash Anaconda2-5.0.0.1-Linux-x86_64.sh
source ~/.bashrc
conda list
git clone https://github.com/NervanaSystems/neon.git
cd neon && make -j
.venv/bin/python -c "from aeon import DataLoader as AeonLoader"

I've got error like

raceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by /anaconda2/lib/./libpng16.so.16)

Could you try to run and send us otput

PATH_TO_YOUR_VIRTUALNEV_WITH_NEON/bin/python -c "from aeon import DataLoader as AeonLoader"
kbinias commented 7 years ago

Could you also attach output log from build process ? Do you run Neon training process ?

Drea1989 commented 7 years ago

i have deleted the anaconda environments, deleted and reinstalled CUDA-8.0 recloned neon in a new folder, run the make sysinstall in a new anaconda environment and this time it worked with neon 2.2 and aeon 1.0 thanks for the support

kbinias commented 7 years ago

@Drea1989 close this issue please.