Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122208035
install_pyeddl_CPU.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jul 16, 16:02
Size
751 B
Mime Type
text/x-shellscript
Expires
Fri, Jul 18, 16:02 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27450262
Attached To
R9868 DeepHealth_UC13_seizure_detection
install_pyeddl_CPU.sh
View Options
#!/bin/sh
git clone --recurse-submodules https://github.com/deephealthproject/pyeddl.git
cd pyeddl/
git fetch --tags
git checkout tags/0.6.0
git submodule update --recursive
PYEDDL_FOLDER=$(pwd)
cd third_party/eddl
EIGEN_PATH=/scrap/users/$USER/miniconda3/envs/eddl/include/eigen3
export EDDL_WITH_PROTOBUF=OFF
export EDDL_DIR=/scrap/users/$USER/eddl
export CPATH="${EIGEN_PATH}:${CPATH}"
# Compiling eddl
mkdir build
cd build
cmake3 .. -DEDDL_SHARED=ON -DBUILD_TARGET=CPU -DBUILD_PROTOBUF=$EDDL_WITH_PROTOBUF -DBUILD_EXAMPLES=ON -DBUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=$EDDL_DIR
make -j$(nproc)
# Moving relevant files in /scrap/users/$USER/eddl/include and /scrap/users/$USER/eddl/lib
make install
cd $PYEDDL_FOLDER
python setup.py install
Event Timeline
Log In to Comment