Package: wnpp
Owner: Andrius Merkys <mer...@debian.org>
Severity: wishlist
X-Debbugs-CC: debian...@lists.debian.org

* Package name    : tiny-dnn
  Version         : 1.0.0a3+ds
  Upstream Author : Taiga Nomi
* URL             : https://github.com/tiny-dnn/tiny-dnn
* License         : BSD-3-Clause
  Programming Lang: C++
  Description     : header only deep learning framework in C++

tiny-dnn is a C++14 implementation of deep learning. It is suitable for
deep learning on limited computational resource, embedded systems and
IoT devices.

I am interested in packaging tiny-dnn due to its usage to train QMEAN
evaluator for protein structure models (see #976981). As per ML-policy,
pre-trained NN models have to be followed by the software used to train
them. However, tiny-dnn does not seem to have much upstream support any
more.

As of now, the package fails to build with tests enabled. I expect
incompatibility with newer C++ compiler or its options to be the cause,
but I did not investigate it much:

cd
/home/andrius/debian-packages/HIDE/tiny-dnn-1.0.0a3+ds/obj-x86_64-linux-gnu/test
&& /usr/bin/cmake -E cmake_link_script
CMakeFiles/tiny_dnn_test.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2
-ffile-prefix-map=/home/andrius/debian-packages/HIDE/tiny-dnn-1.0.0a3+ds=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2  -msse3 -mavx -Wall -Wpedantic -Wno-narrowing
-Wl,-z,relro -rdynamic CMakeFiles/tiny_dnn_test.dir/test.cpp.o
CMakeFiles/tiny_dnn_test.dir/test_no_duplicate_symbols.cpp.o -o
tiny_dnn_test  -ltbb -ltbbmalloc -lgtest -lgmock -lpthread
/usr/bin/ld:
CMakeFiles/tiny_dnn_test.dir/test_no_duplicate_symbols.cpp.o:/usr/include/stb/stb_image_write.h:256:
multiple definition of `stbi_write_tga_with_rle';
CMakeFiles/tiny_dnn_test.dir/test.cpp.o:/usr/include/stb/stb_image_write.h:256:
first defined here
/usr/bin/ld:
CMakeFiles/tiny_dnn_test.dir/test_no_duplicate_symbols.cpp.o: in
function `stbi_failure_reason':
/usr/include/stb/stb_image.h:972: multiple definition of
`stbi_failure_reason';
CMakeFiles/tiny_dnn_test.dir/test.cpp.o:/usr/include/stb/stb_image.h:972: first
defined here

(a lot more follows)

Remark: This package is to be maintained inside Debian Deep Learning Team at
   https://salsa.debian.org/deeplearning-team/tiny-dnn

Reply via email to