root icon indicating copy to clipboard operation
root copied to clipboard

[GSOC][TMVA][SOFIE] Cast ONNX Operator implemented with the corresponding unit tests

Open Neel-Shah-29 opened this issue 2 years ago • 17 comments

This Pull request: Adds the Cast ONNX Operator with the corresponding Unit tests to validate the written code.

Checklist:

  • [ ] tested changes locally
  • [ ] updated the docs (if necessary)

Neel-Shah-29 avatar Jul 22 '22 21:07 Neel-Shah-29

Can one of the admins verify this patch?

phsft-bot avatar Jul 22 '22 21:07 phsft-bot

@phsft-bot build just on ROOT-ubuntu2204/default, ROOT-ubuntu2004/default, ROOT-ubuntu18.04/default with flags -Dtmva-sofie=On

lmoneta avatar Jul 22 '22 21:07 lmoneta

Starting build on ROOT-ubuntu2204/default, ROOT-ubuntu2004/default, ROOT-ubuntu18.04/default with flags -Dtmva-sofie=On How to customize builds

phsft-bot avatar Jul 22 '22 21:07 phsft-bot

Build failed on ROOT-ubuntu18.04/default. Running on sft-ubuntu-1804-2.cern.ch:/build/workspace/root-pullrequests-build See console output.

Errors:

  • [2022-07-22T21:45:48.852Z] FAILED: tmva/sofie/test/CMakeFiles/TestCustomModelsFromONNX.dir/TestCustomModelsFromONNX.cxx.o
  • [2022-07-22T21:45:48.852Z] /mnt/build/workspace/root-pullrequests-build/build/tmva/sofie/test/Cast_FromONNX.hxx:18:1: error: ‘infer’ does not name a type; did you mean ‘index’?
  • [2022-07-22T21:45:48.852Z] /mnt/build/workspace/root-pullrequests-build/root/tmva/sofie/test/TestCustomModelsFromONNX.cxx:340:34: error: ‘struct TMVA_SOFIE_Cast::Session’ has no member named ‘infer’

phsft-bot avatar Jul 22 '22 21:07 phsft-bot

Build failed on ROOT-ubuntu2004/default. Running on root-ubuntu-2004-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.

Errors:

  • [2022-07-22T21:45:46.420Z] FAILED: tmva/sofie/test/CMakeFiles/SofieCompileModels_ROOT.util

phsft-bot avatar Jul 22 '22 21:07 phsft-bot

Build failed on ROOT-ubuntu2204/default. Running on root-ubuntu-2204-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.

Errors:

  • [2022-07-22T21:45:41.510Z] /home/sftnight/build/workspace/root-pullrequests-build/build/tmva/sofie/test/Cast_FromONNX.hxx:18:1: error: ‘infer’ does not name a type
  • [2022-07-22T21:45:41.510Z] /home/sftnight/build/workspace/root-pullrequests-build/root/tmva/sofie/test/TestCustomModelsFromONNX.cxx:340:34: error: ‘struct TMVA_SOFIE_Cast::Session’ has no member named ‘infer’

phsft-bot avatar Jul 22 '22 21:07 phsft-bot

@phsft-bot build just on ROOT-ubuntu2204/default with flags -Dtmva-sofie=On

lmoneta avatar Aug 01 '22 13:08 lmoneta

Starting build on ROOT-ubuntu2204/default How to customize builds

phsft-bot avatar Aug 01 '22 13:08 phsft-bot

@phsft-bot build just on ROOT-ubuntu2204/default, ROOT-ubuntu2004/default, ROOT-ubuntu18.04/default with flags -Dtmva-sofie=On

lmoneta avatar Aug 01 '22 15:08 lmoneta

Starting build on ROOT-ubuntu2204/default, ROOT-ubuntu2004/default, ROOT-ubuntu18.04/default with flags -Dtmva-sofie=On How to customize builds

phsft-bot avatar Aug 01 '22 15:08 phsft-bot

Build failed on ROOT-ubuntu2204/default. Running on root-ubuntu-2204-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.

Errors:

  • [2022-08-01T16:00:45.356Z] /home/sftnight/build/workspace/root-pullrequests-build/build/tmva/sofie/test/Cast_FromONNX.hxx:18:1: error: ‘infer’ does not name a type
  • [2022-08-01T16:00:45.356Z] /home/sftnight/build/workspace/root-pullrequests-build/root/tmva/sofie/test/TestCustomModelsFromONNX.cxx:340:34: error: ‘struct TMVA_SOFIE_Cast::Session’ has no member named ‘infer’

phsft-bot avatar Aug 01 '22 16:08 phsft-bot

Build failed on ROOT-ubuntu18.04/default. Running on sft-ubuntu-1804-3.cern.ch:/build/workspace/root-pullrequests-build See console output.

Errors:

  • [2022-08-01T16:01:57.184Z] FAILED: tmva/sofie/test/CMakeFiles/TestCustomModelsFromONNX.dir/TestCustomModelsFromONNX.cxx.o
  • [2022-08-01T16:01:57.184Z] /mnt/build/workspace/root-pullrequests-build/build/tmva/sofie/test/Cast_FromONNX.hxx:18:1: error: ‘infer’ does not name a type; did you mean ‘index’?
  • [2022-08-01T16:01:57.184Z] /mnt/build/workspace/root-pullrequests-build/root/tmva/sofie/test/TestCustomModelsFromONNX.cxx:340:34: error: ‘struct TMVA_SOFIE_Cast::Session’ has no member named ‘infer’

phsft-bot avatar Aug 01 '22 16:08 phsft-bot

Build failed on ROOT-ubuntu2004/default. Running on root-ubuntu-2004-3.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.

Errors:

  • [2022-08-01T16:02:12.102Z] FAILED: tmva/sofie/test/CMakeFiles/TestCustomModelsFromONNX.dir/TestCustomModelsFromONNX.cxx.o
  • [2022-08-01T16:02:12.668Z] tmva/sofie/test/Cast_FromONNX.hxx:18:1: error: ‘infer’ does not name a type
  • [2022-08-01T16:02:12.668Z] /home/sftnight/build/workspace/root-pullrequests-build/root/tmva/sofie/test/TestCustomModelsFromONNX.cxx:340:34: error: ‘struct TMVA_SOFIE_Cast::Session’ has no member named ‘infer’

phsft-bot avatar Aug 01 '22 16:08 phsft-bot

@phsft-bot build just on ROOT-ubuntu2204/default with flags -Dtmva-sofie=On

lmoneta avatar Aug 04 '22 19:08 lmoneta

Starting build on ROOT-ubuntu2204/default How to customize builds

phsft-bot avatar Aug 04 '22 19:08 phsft-bot

Build failed on ROOT-ubuntu2204/default. Running on root-ubuntu-2204-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.

Warnings:

  • [2022-08-04T19:19:46.227Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
  • [2022-08-04T19:19:47.363Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
  • [2022-08-04T19:19:51.687Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
  • [2022-08-04T19:19:53.750Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]

Failing tests:

phsft-bot avatar Aug 04 '22 19:08 phsft-bot

@phsft-bot build just on ROOT-ubuntu2204/default with flags -Dtmva-sofie=On

lmoneta avatar Aug 12 '22 16:08 lmoneta

Starting build on ROOT-ubuntu2204/default with flags -Dtmva-sofie=On How to customize builds

phsft-bot avatar Aug 12 '22 16:08 phsft-bot

Build failed on ROOT-ubuntu2204/default. Running on root-ubuntu-2204-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.

Warnings:

  • [2022-08-12T16:09:56.332Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
  • [2022-08-12T16:10:01.497Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
  • [2022-08-12T16:10:08.038Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
  • [2022-08-12T16:10:19.407Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]

Failing tests:

phsft-bot avatar Aug 12 '22 16:08 phsft-bot

@phsft-bot build just on ROOT-ubuntu2204/default with flags -Dtmva-sofie=On

lmoneta avatar Aug 16 '22 10:08 lmoneta

Starting build on ROOT-ubuntu2204/default with flags -Dtmva-sofie=On How to customize builds

phsft-bot avatar Aug 16 '22 10:08 phsft-bot

Build failed on ROOT-ubuntu2204/default. Running on root-ubuntu-2204-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.

Warnings:

  • [2022-08-16T10:30:35.727Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
  • [2022-08-16T10:30:37.493Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
  • [2022-08-16T10:30:41.320Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
  • [2022-08-16T10:30:44.739Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]

Failing tests:

phsft-bot avatar Aug 16 '22 10:08 phsft-bot