Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62653447
install_pyeddl.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
Tue, May 14, 15:20
Size
875 B
Mime Type
text/x-shellscript
Expires
Thu, May 16, 15:20 (2 d)
Engine
blob
Format
Raw Data
Handle
17673364
Attached To
R9868 DeepHealth_UC13_seizure_detection
install_pyeddl.sh
View Options
#!/bin/sh
# DEPENDENCIES:
# conda install numpy pybind11 pytest
# might want to set up a conda environment
git clone --recurse-submodules https://github.com/deephealthproject/pyeddl.git
export
EDDL_DIR
=
/home/
$USER
/eddl
cd
pyeddl/
PYEDDL_FOLDER
=
$(
pwd
)
cd
third_party/eddl
# This line is necessary because otherwise building shared library fails (as stated in the pyeddl installation guide) but no issue on eddl's github is open
git apply ../../eddl_0.3.patch
# Compiling eddl
mkdir build
cd
build
cmake .. -DEDDL_SHARED
=
ON -DBUILD_PYTHON
=
ON -DBUILD_TESTS
=
ON -DBUILD_TARGET
=
CPU -DBUILD_EXAMPLES
=
ON -DCMAKE_INSTALL_PREFIX
=
$EDDL_DIR
make -j
$(
nproc
)
# Moving relevant files in /home/$USER/eddl/include and /home/$USER/eddl/lib
make install
# If compiled for GPU here must export the EDDL_WITH_CUDA environment variable
#
#
#
cd
$PYEDDL_FOLDER
python3 setup.py install
Event Timeline
Log In to Comment