Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80458037
install_pyeddl_GPU.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
Sat, Aug 31, 20:22
Size
804 B
Mime Type
text/x-shellscript
Expires
Mon, Sep 2, 20:22 (2 d)
Engine
blob
Format
Raw Data
Handle
20372138
Attached To
R9868 DeepHealth_UC13_seizure_detection
install_pyeddl_GPU.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 -DCMAKE_CUDA_COMPILER
=
/usr/local/cuda-10.1/bin/nvcc -DBUILD_PROTOBUF
=
$EDDL_WITH_PROTOBUF
-DBUILD_EXAMPLES
=
OFF -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