Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91194502
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, Nov 8, 20:51
Size
751 B
Mime Type
text/x-shellscript
Expires
Sun, Nov 10, 20:51 (2 d)
Engine
blob
Format
Raw Data
Handle
22217169
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