Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.9 #247

Merged
merged 253 commits into from
Feb 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
253 commits
Select commit Hold shift + click to select a range
ad363d8
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
sanromra Dec 16, 2020
ae950f5
clean docs
silviasdfg Dec 17, 2020
4561003
Added support for Embedding layer in ONNX. Improvements in recurrent …
chavicoski Dec 18, 2020
f027b4f
clean docs and update progress
silviasdfg Dec 21, 2020
f24ed4d
video example
RParedesPalacios Dec 21, 2020
f91be01
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
RParedesPalacios Dec 21, 2020
43cff3f
Fixed stacked LSTM in ONNX export and minor improvements
chavicoski Dec 22, 2020
1c72168
recurrent decoder
RParedesPalacios Dec 23, 2020
25a2b9e
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
chavicoski Dec 23, 2020
044d59c
solve sphinx warnings
silviasdfg Dec 23, 2020
4d8566a
solve most doxygen warnings
silviasdfg Dec 23, 2020
2a93e82
net
RParedesPalacios Dec 23, 2020
5042560
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
RParedesPalacios Dec 23, 2020
22314a0
decoder
RParedesPalacios Dec 23, 2020
f85c89a
decoder
RParedesPalacios Dec 23, 2020
8cbd5bc
decoder
RParedesPalacios Dec 24, 2020
b261c39
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
chavicoski Dec 28, 2020
1bf7150
Added support for Decoder layers in ONNX import. And added some new o…
chavicoski Dec 28, 2020
6bed019
Added layer documentation
sanromra Dec 28, 2020
e35be3a
Fixed format of layer documentation
sanromra Dec 29, 2020
f06221d
add missing examples to docs
silviasdfg Dec 29, 2020
218e26c
Fixed layer documentation
sanromra Dec 30, 2020
54d259b
add documentation report and remove unnecessary files
silviasdfg Dec 30, 2020
ef2b9b0
solve docs warning
silviasdfg Dec 30, 2020
f33e39a
documentation how to file updated
silviasdfg Dec 30, 2020
91ca6cf
Fix to distributed training functions
chavicoski Jan 4, 2021
5bdad6c
ONNX raw data tensors fix
chavicoski Jan 5, 2021
396830c
Fixed layer LPermute and the ONNX import/export support of Transpose …
chavicoski Jan 5, 2021
fd38f4d
Minor changes in ONNX import
chavicoski Jan 7, 2021
a1a3a11
Text generation example fixed to compile
chavicoski Jan 7, 2021
48b8d5a
cudnn added to the eddl environment
adcastel Jan 8, 2021
0faa9ac
cudnn added to the EDDLConfig.cmake.in file
adcastel Jan 8, 2021
949ba14
cudnn added to the CMAkelists.txt files
adcastel Jan 8, 2021
2d5b6d8
cudnn added to the CMAkelists.txt files
adcastel Jan 8, 2021
17022c3
New CUDA toolkit variables
adcastel Jan 8, 2021
6c98cfd
Added ReduceSum operator support for ONNX
chavicoski Jan 11, 2021
b26f048
Updated eddl_progress.md and added some improvements to ONNX module
chavicoski Jan 12, 2021
bc57c56
cudnn added
adcastel Jan 14, 2021
dba52da
Force conda to use cuda 10.2.89
adcastel Jan 14, 2021
a6dca66
added cudnn error check
adcastel Jan 14, 2021
13fe804
cudnn convs
adcastel Jan 15, 2021
c322901
CUDNN convolution descriptors created
adcastel Jan 15, 2021
f8c195b
CUDNN convolution descriptors moved to convolutiondescriptor
adcastel Jan 15, 2021
8f74762
Fixed ONNX import bug with Conv operator and added the resize operato…
chavicoski Jan 18, 2021
98c1cd0
cudnn activation descriptors added
adcastel Jan 18, 2021
f1ca3d5
Added support for Resize operator in ONNX export and added some minor…
chavicoski Jan 19, 2021
5ad0c83
nlp
RParedesPalacios Jan 19, 2021
cf24203
ONNX code cleaning
chavicoski Jan 19, 2021
38488a4
cudnn activation forward pass implemented
adcastel Jan 19, 2021
626423e
ONNX header cleaning and updated documentation
chavicoski Jan 20, 2021
19a50a6
delete resize
RParedesPalacios Jan 20, 2021
4d24598
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
RParedesPalacios Jan 20, 2021
494630f
delete net
RParedesPalacios Jan 20, 2021
555b743
cpu multi thread
RParedesPalacios Jan 20, 2021
580bc4c
ResNet+cifar mistery solved (we need the same paddig top-bottom or le…
adcastel Jan 20, 2021
0c7b013
crossentropy batch loss
RParedesPalacios Jan 20, 2021
4566bd3
print loss only print
RParedesPalacios Jan 20, 2021
98a1c91
Fix loss tests after normalization was removed
salvacarrion Jan 21, 2021
8ea78cb
Add compute squeeze/unsqueeze methods
salvacarrion Jan 21, 2021
2fbd293
Update tensor squeeze/unsqueeze methods
salvacarrion Jan 21, 2021
2b79edf
print loss only print
RParedesPalacios Jan 21, 2021
59f8bc0
Improve squeeze/unsqueeze methods
salvacarrion Jan 21, 2021
37fa629
Add tests for the squeeze/unsqueeze methods
salvacarrion Jan 21, 2021
1f6c2ce
Add Squeeze layer
salvacarrion Jan 21, 2021
67874f0
Add unsqueeze layer
salvacarrion Jan 21, 2021
0261a14
Add Squeeze layer (API)
salvacarrion Jan 21, 2021
450d7b8
Add Unsqueeze layer (API)
salvacarrion Jan 21, 2021
c9f3aa4
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
salvacarrion Jan 21, 2021
56e2338
Add AveragePool1D
salvacarrion Jan 21, 2021
74eb24a
Add workaround for 3D tensors in BatchNormalization
salvacarrion Jan 21, 2021
00d5400
Add aliases for MaxPool1D, MaxPool2D and MaxPool3D
salvacarrion Jan 21, 2021
749ded4
Add aliases for AveragePool1D, AveragePool2D and AveragePool3D
salvacarrion Jan 21, 2021
256da26
Add GlobalAveragePool for 1D to 3D
salvacarrion Jan 21, 2021
62a5e62
Minor fixes
salvacarrion Jan 21, 2021
2a25791
Update documentation for Pooling layers
salvacarrion Jan 21, 2021
76898f5
Update documentation for Convolutional layers
salvacarrion Jan 21, 2021
0765b77
Add Squeeze / Unsqueeze methods to the documentation
salvacarrion Jan 21, 2021
1e2bea4
memoryleaks optimizers cloned
RParedesPalacios Jan 21, 2021
abf9772
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
RParedesPalacios Jan 21, 2021
8797092
Add fixes + automatic dimension inference
salvacarrion Jan 21, 2021
a44837d
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
salvacarrion Jan 21, 2021
e34cc9a
Minor fix docs
salvacarrion Jan 21, 2021
7f21265
Update progress
salvacarrion Jan 21, 2021
a5ad924
print loss recurrent
RParedesPalacios Jan 21, 2021
40a49a4
Update docs for layers
salvacarrion Jan 21, 2021
866870d
Update docs for training
salvacarrion Jan 21, 2021
7728183
Add aliases + better descriptions
salvacarrion Jan 21, 2021
bfee121
Minor changes
salvacarrion Jan 21, 2021
7290539
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
salvacarrion Jan 21, 2021
a38e7f9
Update environment
salvacarrion Jan 21, 2021
887698d
Draft version of GRU
chavicoski Jan 21, 2021
af5fcaa
net improvs
RParedesPalacios Jan 22, 2021
6498ab1
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
RParedesPalacios Jan 22, 2021
bcf5eff
pool forward added
adcastel Jan 22, 2021
2f2ebe6
net clean
RParedesPalacios Jan 25, 2021
7db370a
Activation backward added
adcastel Jan 25, 2021
42b6ff0
max_pool backward added
adcastel Jan 25, 2021
853ed23
n-best
RParedesPalacios Jan 25, 2021
ad62b4d
n-best
RParedesPalacios Jan 25, 2021
408c7ad
Fix in GRU backward
chavicoski Jan 25, 2021
643ebfd
convolution backward added
adcastel Jan 25, 2021
9b6d30d
batch_norm fwd added
adcastel Jan 25, 2021
e40add0
CD PD memory leaks fixed
RParedesPalacios Jan 25, 2021
81c8046
conv descriptor
RParedesPalacios Jan 25, 2021
2ea9665
distribute params
RParedesPalacios Jan 25, 2021
9f13267
distribute params
RParedesPalacios Jan 25, 2021
271e904
GRU revised and corrected, GRU example added
jonandergomez Jan 25, 2021
35074ab
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
jonandergomez Jan 25, 2021
280795c
Update 2_nlp_sentiment_gru.cpp
jonandergomez Jan 25, 2021
a02764e
batch_norm bwd added
adcastel Jan 26, 2021
53287a2
Add ConvolDescriptor3D
salvacarrion Jan 26, 2021
9bbb5d8
Add PoolDescriptor3D
salvacarrion Jan 26, 2021
3c173d7
Add Conv3D (tensor)
salvacarrion Jan 26, 2021
54f9b7c
Add MPool3D (tensor)
salvacarrion Jan 26, 2021
0451774
Add cpu_conv3D (tensor)
salvacarrion Jan 26, 2021
f9d223e
Add cpu_mpool3D (tensor)
salvacarrion Jan 26, 2021
f665463
Add gpu_conv3D (tensor)
salvacarrion Jan 26, 2021
f4a7fe9
Add gpu_mpool3D (tensor)
salvacarrion Jan 26, 2021
c9f7506
Improve error description (conv/pool)
salvacarrion Jan 26, 2021
21e27e9
Add LConv3D
salvacarrion Jan 26, 2021
e9fad6b
Add LPool3D
salvacarrion Jan 26, 2021
77f7237
Add LMaxPool3D
salvacarrion Jan 26, 2021
6b3bb0d
Minor changes layer's name
salvacarrion Jan 26, 2021
e6dc5c9
Add Conv3D and MaxPool3D to API
salvacarrion Jan 26, 2021
95195fb
Add example for 5D data
salvacarrion Jan 26, 2021
edf4990
Increase error margin for loss tests
salvacarrion Jan 26, 2021
9965f60
Minor tweak for Net destructor
salvacarrion Jan 26, 2021
945a69c
Minor tweak
salvacarrion Jan 26, 2021
060f861
delete net
RParedesPalacios Jan 26, 2021
1a42a35
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
RParedesPalacios Jan 26, 2021
6a758d3
net
RParedesPalacios Jan 26, 2021
625baff
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
RParedesPalacios Jan 26, 2021
fde7e81
Minor tweak
salvacarrion Jan 26, 2021
1abfca6
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
salvacarrion Jan 26, 2021
ee247c9
net clean
RParedesPalacios Jan 26, 2021
ca90e77
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
RParedesPalacios Jan 26, 2021
ecff95c
Minor tweak
salvacarrion Jan 26, 2021
74ffe85
Merge remote-tracking branch 'origin/develop' into develop
salvacarrion Jan 26, 2021
969f36d
Small changes in GRU example
jonandergomez Jan 26, 2021
7376979
Merge branch 'develop' of github.com:deephealthproject/eddl into develop
jonandergomez Jan 26, 2021
c933d30
net clean
RParedesPalacios Jan 26, 2021
ba43ddc
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
RParedesPalacios Jan 26, 2021
f29b4bc
Conv3D example
RParedesPalacios Jan 26, 2021
c7bd111
delta low_mem
RParedesPalacios Jan 26, 2021
b64f2b3
examples
RParedesPalacios Jan 26, 2021
5eee6a7
Unsqueeze at dim 0 (ignoring batch)
salvacarrion Jan 27, 2021
2114b46
Depuration tasks
jonandergomez Jan 27, 2021
d36bf9b
Merge branch 'develop' of github.com:deephealthproject/eddl into develop
jonandergomez Jan 27, 2021
21e3cd4
losses batch div
RParedesPalacios Jan 27, 2021
41d438f
Merge branch 'develop' of github.com:deephealthproject/eddl into develop
jonandergomez Jan 27, 2021
96d64a1
Checking for memory leaks
jonandergomez Jan 27, 2021
288af34
Update GRU according to linear_before_reset != 0
jonandergomez Jan 28, 2021
2b43568
test loss commented
RParedesPalacios Jan 28, 2021
6cba636
Update test losses (normalization)
salvacarrion Jan 28, 2021
83f5f87
Minor tweaks
salvacarrion Jan 28, 2021
9dea700
Add conv tests
salvacarrion Jan 28, 2021
ca8bfab
Fix dummy error in conv test
salvacarrion Jan 28, 2021
97fc7f9
Fix dummy error in conv test
salvacarrion Jan 28, 2021
00e897c
Minor change
salvacarrion Jan 28, 2021
703b9fc
GRU backward reviewed and corrected
jonandergomez Jan 28, 2021
a788368
Merge branch 'develop' of github.com:deephealthproject/eddl into develop
jonandergomez Jan 28, 2021
6e4dc25
CMakeList comment correction (only 2 lines differs from the one in br…
jonandergomez Jan 28, 2021
fd8331c
Few updates
jonandergomez Jan 28, 2021
993b18f
Update eddl_progress.md
jonandergomez Jan 29, 2021
11300ca
removed gpuXB memory allocations when cuDNN is used
adcastel Jan 29, 2021
d245c73
Removed some memory leaks.
jonandergomez Jan 29, 2021
62536fe
Added serialization of optimizers and compserv with onnx
chavicoski Jan 29, 2021
eae3722
net delete all objects
RParedesPalacios Jan 29, 2021
004e364
clean-up
adcastel Jan 29, 2021
5b5d396
Fixed small memory leak in RShape
jonandergomez Jan 29, 2021
23f9f5a
Mnist examples updated to delete/free all objects + memory leaks in c…
jonandergomez Jan 31, 2021
3e305cf
Few and small corrections
jonandergomez Jan 31, 2021
ee5ca38
Tensor examples memory leaks checked
jonandergomez Feb 1, 2021
831d340
examples
RParedesPalacios Feb 1, 2021
faa469e
More memory leak checkings
jonandergomez Feb 1, 2021
c3bdeb3
code clean-up
adcastel Feb 2, 2021
c1df828
added missing conditional compilation zone
adcastel Feb 2, 2021
52b4ece
Initialize conv bias to zero
salvacarrion Feb 2, 2021
79c332e
Refactor for Conv constructors
salvacarrion Feb 2, 2021
f56a47c
Minor change
salvacarrion Feb 2, 2021
2c904c2
get_fmem() windows compatibility
jonandergomez Feb 2, 2021
de7a59e
Merge branch 'develop' of github.com:deephealthproject/eddl into develop
jonandergomez Feb 2, 2021
e303bea
Update conv constructor
salvacarrion Feb 3, 2021
3414169
Merge remote-tracking branch 'origin/develop' into develop
salvacarrion Feb 3, 2021
0d306ee
Fix padding
salvacarrion Feb 3, 2021
276fc5d
fixing memory allocation issue
jonandergomez Feb 3, 2021
bec2bb8
Add cudatoolkit and cudnn
salvacarrion Feb 3, 2021
d34abb2
Update cudatoolkit/cudnn versions
salvacarrion Feb 3, 2021
afee3cc
Update cudatoolkit version
salvacarrion Feb 3, 2021
a17c5ce
Merge remote-tracking branch 'origin/cudnn_devel' into develop
salvacarrion Feb 3, 2021
e41cf26
Add comment
salvacarrion Feb 3, 2021
21e4b1c
Snapshot of requirements
salvacarrion Feb 3, 2021
7246a35
Update version
salvacarrion Feb 3, 2021
ddd86df
Update docs
salvacarrion Feb 3, 2021
677be01
Cifar10 examples checked for memory leaks
jonandergomez Feb 3, 2021
97c2726
Merge branch 'develop' of github.com:deephealthproject/eddl into develop
jonandergomez Feb 3, 2021
2184116
Irregular padding solved
adcastel Feb 4, 2021
cd37bc7
evaluate batch size
RParedesPalacios Feb 4, 2021
33e2698
Update environments
salvacarrion Feb 4, 2021
3d4aeea
Merge remote-tracking branch 'origin/develop' into develop
salvacarrion Feb 4, 2021
3f1de2c
Develop (#245)
antodo Feb 4, 2021
5289666
New cuDNN error management
adcastel Feb 4, 2021
a8d2c97
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
adcastel Feb 4, 2021
c128065
enviroment
RParedesPalacios Feb 4, 2021
17fb462
multigpu added
adcastel Feb 4, 2021
f99110a
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
adcastel Feb 4, 2021
c78501d
Minor description changes
salvacarrion Feb 4, 2021
cc54064
Remove unused descriptions
salvacarrion Feb 4, 2021
0fc179d
Minor change
salvacarrion Feb 4, 2021
ba9a52e
Fix "Cannot generate a safe runtime search path" problem
salvacarrion Feb 4, 2021
ae99872
Minor fixes
salvacarrion Feb 4, 2021
f0b32ec
Minor fixes
salvacarrion Feb 4, 2021
716eea8
Fixed protobuf flag in cmake
chavicoski Feb 4, 2021
b461e8f
new cublas_handle usage
adcastel Feb 5, 2021
fd23e60
new cublas_handle usage
adcastel Feb 5, 2021
065708c
New cudnn error info
adcastel Feb 5, 2021
3755a96
cuDNN MultiGPU available
adcastel Feb 5, 2021
3d35791
Fix regex onnx bug
salvacarrion Feb 5, 2021
2a43775
Merge remote-tracking branch 'origin/develop' into develop
salvacarrion Feb 5, 2021
40ef70c
Fix regex onnx bug
salvacarrion Feb 5, 2021
35de26f
Remove unsused functions tensor
salvacarrion Feb 5, 2021
f525eb9
Add batchnorm tests
salvacarrion Feb 5, 2021
b3701f5
Minor changes
salvacarrion Feb 5, 2021
5f89246
modified a code that may (or not) produce a coredump
adcastel Feb 5, 2021
48937f3
Disable BatchNormalization test
salvacarrion Feb 5, 2021
f0f0abb
Add compiler checks for CUDA
salvacarrion Feb 5, 2021
62da4e7
Merge remote-tracking branch 'origin/develop' into develop
salvacarrion Feb 5, 2021
a006376
Improve Cuda toolkit support
salvacarrion Feb 5, 2021
550b334
Minor changes
salvacarrion Feb 5, 2021
dc2cec0
Update docs
salvacarrion Feb 5, 2021
46ae9f4
Random table set as static
jonandergomez Feb 6, 2021
35d7647
Force lib64
salvacarrion Feb 8, 2021
75c31bd
Minor change
salvacarrion Feb 8, 2021
6a9be97
code clean-up
adcastel Feb 8, 2021
4f4904f
Merge branch 'develop' of https://github.com/deephealthproject/eddl i…
adcastel Feb 8, 2021
46ad2e2
leaky_relu executed with CUDA due it is not yet supported by cuDNN
adcastel Feb 8, 2021
0403826
Develop (#246)
antodo Feb 9, 2021
67587d0
Move check cuda/gcc
salvacarrion Feb 9, 2021
b605971
Test alternative paths
salvacarrion Feb 9, 2021
309c887
Major re-write of building
salvacarrion Feb 9, 2021
a72f7aa
Fix mode test
salvacarrion Feb 9, 2021
4457686
Disable HPC for tests
salvacarrion Feb 9, 2021
a947a4e
Fix find libraries for gtests and protobuf
salvacarrion Feb 9, 2021
92138c1
Fix protobuf installation path
salvacarrion Feb 9, 2021
4cfe799
Update docs
salvacarrion Feb 9, 2021
f944f1e
Minor changes
salvacarrion Feb 9, 2021
18dd7b7
Update installation docs
salvacarrion Feb 9, 2021
3cb86ab
Disable google tests
salvacarrion Feb 9, 2021
cdb32af
Update installation docs
salvacarrion Feb 9, 2021
aa21fed
Enable tests for CI
salvacarrion Feb 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/build-cpu-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: |
mkdir build
cd build
cmake -G "Visual Studio 16 2019" -A x64 -DBUILD_SUPERBUILD=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_TARGET=CPU ..
cmake -G "Visual Studio 16 2019" -A x64 -DBUILD_SUPERBUILD=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_TARGET=CPU -DBUILD_HPC=OFF -DBUILD_TESTS=ON ..
shell: cmd
- name: Build
run: cmake --build build --config Release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: |
mkdir build
cd build
cmake .. -DBUILD_SUPERBUILD=ON
cmake .. -DBUILD_SUPERBUILD=ON -DBUILD_HPC=OFF -DBUILD_TESTS=ON
make
- name: Test
run: |
Expand Down
47 changes: 22 additions & 25 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ option(BUILD_SUPERBUILD "Compile using the superbuild system" OFF)
option(BUILD_PROTOBUF "Compile using Protobuf" ON)
option(BUILD_OPENMP "Compile using OpenMP" ON)
option(BUILD_HPC "Compile using aggressive flags" ON)
option(BUILD_TESTS "Compile tests (HCP needs to be disabled)" ON) # Disable HCP to pass tests (there are numerical errors)
option(USE_LOCAL_GTEST "Use the local library to avoid problems derived from the 'One Definition Rule'" ON)
option(BUILD_TESTS "Compile tests (HPC needs to be disabled)" OFF) # Disable HPC to pass tests (there are numerical errors)
option(BUILD_EXAMPLES "Compile examples" ON)
option(BUILD_SHARED_LIBS "Global flag to cause add_library to create shared libraries if on" ON)
option(BUILD_COVERAGE "Flag to compile for coverage information" OFF)
Expand All @@ -21,26 +20,12 @@ if(WIN32)
option(BUILD_SHARED_LIBS "" OFF) # Prefer lib over dll in windows
endif()

###########################################################################
############################### WARNINGS ##################################
###########################################################################

# Issues with HPC and logic functions
if(BUILD_HPC)
message(WARNING "[WARNING] The 'BUILD_HPC' flag is enabled and might not work on a different CPU.
If you intend to compile the library for different CPUs (or for a docker image), you should disable it: '-D BUILD_HPC=OFF'. This happens because it makes use of native compiling flags.")
endif()

# Issues with HPC and logic functions
if(BUILD_TESTS AND BUILD_HPC)
message(WARNING "[WARNING] Some logic functions are not compatible with the 'BUILD_HPC' flag.
If you're unit testing, or using one of these logic functions: isfinite(), isinf(), isnan(), isposinf(), isneginf(); then we recommend you to disable the HPC flag: '-D BUILD_HPC=OFF' to obtain the expected results.")
endif()

###########################################################################
################################# BUILD ###################################
###########################################################################

set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH ON)

# Set a default build type if none was specified
set(default_build_type "Release")
#if(EXISTS "${CMAKE_SOURCE_DIR}/.git")
Expand All @@ -64,7 +49,7 @@ if(BUILD_SUPERBUILD)
add_subdirectory(cmake)
endif()
# This is executed at compilation time: "make"
PROJECT(eddl VERSION 0.8 LANGUAGES CXX)
PROJECT(eddl VERSION 0.9 LANGUAGES CXX)


# SET C++ COMPILER STANDARD
Expand Down Expand Up @@ -151,12 +136,6 @@ add_subdirectory(src)

# Build tests
if(BUILD_TESTS)
if(USE_LOCAL_GTEST AND NOT BUILD_SUPERBUILD)
add_subdirectory(libs/googletest)
set(GTEST_INCLUDE_DIRS "${gtest_SOURCE_DIR}/include;${gtest_SOURCE_DIR}")
SET(GTEST_BOTH_LIBRARIES "gtest;gtest_main")
endif()

add_subdirectory(tests)
endif(BUILD_TESTS)

Expand Down Expand Up @@ -190,3 +169,21 @@ install(
"${PROJECT_BINARY_DIR}/cmake/eddl/EDDLConfigVersion.cmake"
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/eddl"
COMPONENT devel)



###########################################################################
############################### WARNINGS ##################################
###########################################################################

# Issues with HPC and logic functions
if(BUILD_HPC)
message(WARNING "[WARNING] The 'BUILD_HPC' flag is enabled and might not work on a different CPU.
If you intend to compile the library for different CPUs (or for a docker image), you should disable it: '-D BUILD_HPC=OFF'. This happens because it makes use of native compiling flags.")
endif()

# Issues with HPC and logic functions
if(BUILD_TESTS AND BUILD_HPC)
message(WARNING "[WARNING] Some logic functions are not compatible with the 'BUILD_HPC' flag.
If you're unit testing, or using one of these logic functions: isfinite(), isinf(), isnan(), isposinf(), isneginf(); then we recommend you to disable the HPC flag: '-D BUILD_HPC=OFF' to obtain the expected results.")
endif()
12 changes: 12 additions & 0 deletions TODO.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
TODO

- Soporte ONNX: Gather, Unsqueeze ??
- Comprobar modelos pre-entrenados onnx:
- Resizing 224 y predict
- o bien ImageNet

- Decoder -> inferencia n-best
- Ejemplos Enconder-Decoder: MT, Descripción de Imágenes/Videos
- Modelos de atención
- Conv3D
- Apoyo use-cases (examples)
50 changes: 2 additions & 48 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ else()
# Set variables
SET(GTEST_ROOT "${EP_BASE_DIR}/googletest" PARENT_SCOPE)
SET(GTEST_INCLUDE_DIRS "${EP_BASE_DIR}/googletest/include" PARENT_SCOPE)
SET(GTEST_LIBRARIES_DIRS "${EP_BASE_DIR}/googletest/lib" PARENT_SCOPE)
SET(GTEST_BOTH_LIBRARIES "gtest;gtest_main" PARENT_SCOPE)
SET(GTEST_BOTH_LIBRARIES_D "gtestd;gtest_maind" PARENT_SCOPE)
endif()
message(STATUS "Subproject: GTEST...DONE")

Expand All @@ -112,33 +109,6 @@ endif()
message(STATUS "Subproject: EIGEN...DONE")


#############
### ZLIB ##
#############
# NOT USED *****************************************************
#message(STATUS "Subproject: ZLIB...")
#if(USE_SYSTEM_ZLIB)
# find_package(ZLIB REQUIRED)
#else()
# # Download and unpack ZLIB at configure time
# foreach(config ${config_types})
# CONF_PACKAGE(zlib ${config} "")
# BUILD_PACKAGE(zlib ${config})
# endforeach()
# # Set variables
# SET(ZLIB_ROOT "${EP_BASE_DIR}/zlib" PARENT_SCOPE)
# SET(ZLIB_INCLUDE_DIRS "${EP_BASE_DIR}/zlib/include" PARENT_SCOPE)
# SET(ZLIB_LIBRARIES_DIRS "${EP_BASE_DIR}/zlib/lib")
# SET(ZLIB_LIBRARIES_DIRS ${ZLIB_LIBRARIES_DIRS} PARENT_SCOPE)
# if(WIN32)
# SET(ZLIB_LIBRARIES "${ZLIB_LIBRARIES_DIRS}/zlibstatic.lib" PARENT_SCOPE)
# elseif(UNIX)
# SET(ZLIB_LIBRARIES "${ZLIB_LIBRARIES_DIRS}/libz.a" PARENT_SCOPE)
# endif()
#endif()
#message(STATUS "Subproject: ZLIB...DONE")


################
## PROTOBUF ##
################
Expand All @@ -150,26 +120,10 @@ else()
CONF_PACKAGE(protobuf ${config} @ONLY)
BUILD_PACKAGE(protobuf ${config})
endforeach()
# Set Protobuf_DIR variable
if (WIN32)
set(Protobuf_DIR "${EP_BASE_DIR}/protobuf/cmake" PARENT_SCOPE)
else()
set(Protobuf_DIR "${EP_BASE_DIR}/protobuf/lib/cmake/protobuf" PARENT_SCOPE)
endif()

set(Protobuf_ROOT "${EP_BASE_DIR}/protobuf" PARENT_SCOPE)
set(Protobuf_INCLUDE_DIRS "${EP_BASE_DIR}/protobuf/include" PARENT_SCOPE)
set(Protobuf_LIBRARIES_DIRS "${EP_BASE_DIR}/protobuf/lib") # TODO: Fix. Sometimes is /lib, and others /lib64
set(Protobuf_LIBRARIES_DIRS ${Protobuf_LIBRARIES_DIRS} PARENT_SCOPE)
# set(Protobuf_LIBRARIES "protobuf" PARENT_SCOPE)
set(Protobuf_PROTOC_EXECUTABLE "${EP_BASE_DIR}/protobuf/bin/protoc" PARENT_SCOPE)
if(WIN32)
SET(Protobuf_LIBRARIES "${Protobuf_LIBRARIES_DIRS}/libprotobuf.lib" PARENT_SCOPE)
SET(Protobuf_LIBRARY_DEBUG "${Protobuf_LIBRARIES_DIRS}/libprotobufd.lib" PARENT_SCOPE)
SET(Protobuf_LIBRARY_RELEASE "${Protobuf_LIBRARIES_DIRS}/libprotobuf.lib" PARENT_SCOPE)
elseif(UNIX)
SET(Protobuf_LIBRARIES "${Protobuf_LIBRARIES_DIRS}/libprotobuf.a" PARENT_SCOPE)
endif()
endif()
add_custom_target(protobuf_files
protoc --cpp_out=../src/serialization/onnx ../src/serialization/onnx/onnx.proto
Expand Down Expand Up @@ -217,7 +171,7 @@ endif()
# -DZLIB_LIBRARIES:PATH=${ZLIB_LIBRARIES}
# -DZLIB_LIBRARIES_DIRS:PATH=${ZLIB_LIBRARIES_DIRS}
#
# -DProtobuf_DIR:PATH=${Protobuf_DIR} # Problems
# -DProtobuf_ROOT:PATH=${Protobuf_ROOT} # Problems
# -DProtobuf_INCLUDE_DIRS:PATH=${Protobuf_INCLUDE_DIRS}
# -DProtobuf_LIBRARIES:PATH=${Protobuf_LIBRARIES}
# -DProtobuf_LIBRARIES_DIRS:PATH=${Protobuf_LIBRARIES_DIRS}
Expand All @@ -244,7 +198,7 @@ endif()
#message(STATUS "Zlib libraries: " ${ZLIB_LIBRARIES})
#message(STATUS "-------------------------------------------" )
#message(STATUS "Use system Protobuf: " ${USE_SYSTEM_PROTOBUF} )
#message(STATUS "Protobuf dir: " ${Protobuf_DIR})
#message(STATUS "Protobuf dir: " ${Protobuf_ROOT})
#message(STATUS "Protobuf include dirs: " ${Protobuf_INCLUDE_DIRS})
#message(STATUS "Protobuf libraries dirs: " ${Protobuf_LIBRARIES_DIRS})
#message(STATUS "Protobuf libraries: " ${Protobuf_LIBRARIES})
Expand Down
11 changes: 3 additions & 8 deletions cmake/EDDLConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ SET(USE_SUPERBUILD @BUILD_SUPERBUILD@) # Set in parent
SET(USE_PROTOBUF @BUILD_PROTOBUF@) # Set in parent
SET(USE_OPENMP @USE_OPENMP@) # Modified in a subdirectory
SET(USE_CUDA @USE_CUDA@) # Modified in a subdirectory
SET(USE_CUDNN @USE_CUDNN@) # Modified in a subdirectory
SET(USE_FPGA @USE_FPGA@) # Modified in a subdirectory
SET(USE_SYSTEM_EIGEN @USE_SYSTEM_EIGEN@) # Modified in a subdirectory
#SET(USE_SYSTEM_ZLIB @USE_SYSTEM_ZLIB@) # Modified in a subdirectory
Expand Down Expand Up @@ -40,22 +41,16 @@ if(USE_SUPERBUILD)
SET(Eigen3_DIR @Eigen3_DIR@) # Modified in a subdirectory
list(APPEND CMAKE_PREFIX_PATH ${Eigen3_DIR})
endif()
# if(NOT USE_SYSTEM_ZLIB)
# SET(ZLIB_ROOT_PATH @ZLIB_ROOT@) # Modified in a subdirectory
# SET(ZLIB_BIN @ZLIB_BIN@) # Modified in a subdirectory
# list(APPEND CMAKE_PREFIX_PATH ${ZLIB_BIN} ${ZLIB_ROOT_PATH})
# endif()
endif()

# Core dependencies
find_dependency(Eigen3 REQUIRED NO_MODULE)
#find_dependency(ZLIB REQUIRED)

# Protobuf
if(USE_PROTOBUF)
if(USE_SUPERBUILD AND NOT USE_SYSTEM_PROTOBUF)
SET(Protobuf_DIR @Protobuf_DIR@) # Modified in a subdirectory
find_dependency(Protobuf CONFIG REQUIRED HINTS ${Protobuf_DIR})
SET(Protobuf_ROOT @Protobuf_ROOT@) # Modified in a subdirectory
find_dependency(Protobuf CONFIG REQUIRED HINTS ${Protobuf_ROOT})
else()
find_dependency(Protobuf REQUIRED)
endif()
Expand Down
121 changes: 121 additions & 0 deletions docs/markdown/bundle/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
# packages in environment at /home/salvacarrion/anaconda3/envs/eddl:
#
# Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 1_gnu conda-forge
alabaster 0.7.12 pypi_0 pypi
atk-1.0 2.36.0 h3371d22_4 conda-forge
babel 2.9.0 pypi_0 pypi
breathe 4.22.1 pypi_0 pypi
bzip2 1.0.8 h7f98852_4 conda-forge
c-ares 1.17.1 h36c2ea0_0 conda-forge
ca-certificates 2020.12.5 ha878542_0 conda-forge
cairo 1.16.0 h7979940_1007 conda-forge
certifi 2020.12.5 py38h578d9bd_1 conda-forge
chardet 4.0.0 pypi_0 pypi
cmake 3.19.4 h4547794_0 conda-forge
cudatoolkit 11.0.3 h15472ef_7 conda-forge
cudatoolkit-dev 10.1.243 h516909a_3 conda-forge
cudnn 8.0.5.39 ha5ca753_1 conda-forge
docutils 0.16 pypi_0 pypi
doxygen 1.9.1 hb166930_0 conda-forge
eigen 3.3.7 hc9558a2_1001 conda-forge
expat 2.2.10 h9c3ff4c_0 conda-forge
font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge
font-ttf-inconsolata 2.001 hab24e00_0 conda-forge
font-ttf-source-code-pro 2.030 hab24e00_0 conda-forge
font-ttf-ubuntu 0.83 hab24e00_0 conda-forge
fontconfig 2.13.1 hba837de_1004 conda-forge
fonts-conda-ecosystem 1 0 conda-forge
fonts-conda-forge 1 0 conda-forge
freetype 2.10.4 h0708190_1 conda-forge
fribidi 1.0.10 h36c2ea0_0 conda-forge
gdk-pixbuf 2.42.2 h0c95a7a_2 conda-forge
gettext 0.19.8.1 h0b5b191_1005 conda-forge
giflib 5.2.1 h36c2ea0_2 conda-forge
graphite2 1.3.13 h58526e2_1001 conda-forge
graphviz 2.42.3 h6939c30_2 conda-forge
gtest 1.10.0 h4bd325d_7 conda-forge
gtk2 2.24.33 hab0c2f8_0 conda-forge
gts 0.7.6 h64030ff_2 conda-forge
harfbuzz 2.7.4 h5cf4720_0 conda-forge
icu 68.1 h58526e2_0 conda-forge
idna 2.10 pypi_0 pypi
imagesize 1.2.0 pypi_0 pypi
jinja2 2.11.3 pypi_0 pypi
jpeg 9d h36c2ea0_0 conda-forge
krb5 1.17.2 h926e7f8_0 conda-forge
ld_impl_linux-64 2.35.1 hea4e1c9_2 conda-forge
libcurl 7.71.1 hcdd3856_8 conda-forge
libedit 3.1.20191231 he28a2e2_2 conda-forge
libev 4.33 h516909a_1 conda-forge
libffi 3.3 h58526e2_2 conda-forge
libgcc-ng 9.3.0 h2828fa1_18 conda-forge
libglib 2.66.4 h748fe8e_2 conda-forge
libgomp 9.3.0 h2828fa1_18 conda-forge
libiconv 1.16 h516909a_0 conda-forge
libidn2 2.3.0 h516909a_0 conda-forge
libnghttp2 1.43.0 h812cca2_0 conda-forge
libpng 1.6.37 h21135ba_2 conda-forge
libprotobuf 3.11.4 h8b12597_0 conda-forge
libssh2 1.9.0 hab1572f_5 conda-forge
libstdcxx-ng 9.3.0 h6de172a_18 conda-forge
libtiff 4.2.0 hdc55705_0 conda-forge
libtool 2.4.6 h58526e2_1007 conda-forge
libunistring 0.9.10 h14c3975_0 conda-forge
libuuid 2.32.1 h7f98852_1000 conda-forge
libuv 1.40.0 h7f98852_0 conda-forge
libwebp 1.2.0 h3452ae3_0 conda-forge
libwebp-base 1.2.0 h7f98852_0 conda-forge
libxcb 1.13 h7f98852_1003 conda-forge
libxml2 2.9.10 h72842e0_3 conda-forge
lz4-c 1.9.3 h9c3ff4c_0 conda-forge
markupsafe 1.1.1 pypi_0 pypi
ncurses 6.2 h58526e2_4 conda-forge
openssl 1.1.1i h7f98852_0 conda-forge
pango 1.42.4 h69149e4_5 conda-forge
pcre 8.44 he1b5a44_0 conda-forge
pip 21.0.1 pyhd8ed1ab_0 conda-forge
pixman 0.40.0 h36c2ea0_0 conda-forge
protobuf 3.11.4 py38h950e882_1 conda-forge
pthread-stubs 0.4 h36c2ea0_1001 conda-forge
pygments 2.7.4 pypi_0 pypi
python 3.8.6 hffdb5ce_5_cpython conda-forge
python_abi 3.8 1_cp38 conda-forge
pytz 2021.1 pypi_0 pypi
readline 8.0 he28a2e2_2 conda-forge
requests 2.25.1 pypi_0 pypi
rhash 1.4.1 h7f98852_0 conda-forge
setuptools 49.6.0 py38h578d9bd_3 conda-forge
six 1.15.0 pyh9f0ad1d_0 conda-forge
snowballstemmer 2.1.0 pypi_0 pypi
sphinx 3.2.1 pypi_0 pypi
sphinx-rtd-theme 0.5.0 pypi_0 pypi
sphinx-tabs 1.3.0 pypi_0 pypi
sphinxcontrib-applehelp 1.0.2 pypi_0 pypi
sphinxcontrib-devhelp 1.0.2 pypi_0 pypi
sphinxcontrib-htmlhelp 1.0.3 pypi_0 pypi
sphinxcontrib-jsmath 1.0.1 pypi_0 pypi
sphinxcontrib-qthelp 1.0.3 pypi_0 pypi
sphinxcontrib-serializinghtml 1.1.4 pypi_0 pypi
sqlite 3.34.0 h74cdb3f_0 conda-forge
tk 8.6.10 h21135ba_1 conda-forge
urllib3 1.26.3 pypi_0 pypi
wget 1.20.1 h22169c7_0 conda-forge
wheel 0.36.2 pyhd3deb0d_0 conda-forge
xorg-kbproto 1.0.7 h7f98852_1002 conda-forge
xorg-libice 1.0.10 h516909a_0 conda-forge
xorg-libsm 1.2.3 h84519dc_1000 conda-forge
xorg-libx11 1.6.12 h516909a_0 conda-forge
xorg-libxau 1.0.9 h7f98852_0 conda-forge
xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge
xorg-libxext 1.3.4 h516909a_0 conda-forge
xorg-libxpm 3.5.13 h516909a_0 conda-forge
xorg-libxrender 0.9.10 h516909a_1002 conda-forge
xorg-libxt 1.1.5 h516909a_1003 conda-forge
xorg-renderproto 0.11.1 h14c3975_1002 conda-forge
xorg-xextproto 7.3.0 h7f98852_1002 conda-forge
xorg-xproto 7.0.31 h7f98852_1007 conda-forge
xz 5.2.5 h516909a_1 conda-forge
zlib 1.2.11 h516909a_1010 conda-forge
zstd 1.4.8 ha95c52a_1 conda-forge
Loading