Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62104845
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
Fri, May 10, 22:43
Size
798 B
Mime Type
text/x-shellscript
Expires
Sun, May 12, 22:43 (2 d)
Engine
blob
Format
Raw Data
Handle
17604191
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
EIGEN_PATH
=
/home/andrea/anaconda3/envs/eddl/include/eigen3
export
EDDL_WITH_PROTOBUF
=
OFF
export
EDDL_DIR
=
/home/
$USER
/eddl
export
CPATH
=
"${EIGEN_PATH}:${CPATH}"
cd
pyeddl/
PYEDDL_FOLDER
=
$(
pwd
)
cd
third_party/eddl
# Compiling eddl
mkdir build
cd
build
cmake .. -DBUILD_TARGET
=
CPU -DBUILD_SHARED_LIB
=
ON -DMKL
=
ON -DBUILD_PROTOBUF
=
$EDDL_WITH_PROTOBUF
-DBUILD_OPENMP
=
ON -DBUILD_HPC
=
ON -DBUILD_TESTS
=
ON -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
# Installing required packages for pyeddl
conda install -y -n eddl pybind11 pytest
# Installing pyeddl
cd
$PYEDDL_FOLDER
python3 setup.py install
Event Timeline
Log In to Comment