nnstreamer / nntrainer

NNtrainer is Software Framework for Training Neural Network Models on Devices.
Apache License 2.0
134 stars 71 forks source link

[Layer] Introduce `upsample2d` layer #2639

Closed heka1024 closed 1 day ago

heka1024 commented 2 weeks ago

Add upsample2d layer in nntrainer. This could be used in YOLO or other layers.

Self evaluation:

  1. Build test: [X]Passed [ ]Failed [ ]Skipped
  2. Run test: [X]Passed [ ]Failed [ ]Skipped
taos-ci commented 2 weeks ago

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2639. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

heka1024 commented 2 weeks ago

cc. @kimhan0515, @Boseong-Seo

taos-ci commented 2 weeks ago

:octocat: cibot: @heka1024, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2639-202406180350590.31319904327393-d1500f25c6072ffdcba28bb6b7ebd7b501da1501/.

heka1024 commented 2 weeks ago

C++ exception with description "[parseutil] requested file not opened, file path: ./res/test/unittest_layers/upsample2d_2x2_nearest.nnlayergolden reason: No such file or directory" thrown in the test body. [ FAILED ] Upsample2D/LayerGoldenTest.run/0, where GetParam() = (32-byte object <40-EB D5-B3 86-55 00-00 00-00 00-00 00-00 00-00 C0-BB D2-B3 86-55 00-00 E0-B8 D2-B3 86-55 00-00>, { "upsample=nearest", "kernel_size=2,2" }, 0x5586b3db2b8d pointing to "1:1:2:2", 0x5586b3db2aa0 pointing to "upsample2d_2x2_nearest.nnlayergolden", 0, "nchw", "fp32", "fp32") (0 ms) [ RUN ] Upsample2D/LayerGoldenTest.run/1 unknown file: Failure C++ exception with description "[parseutil] requested file not opened, file path: ./res/test/unittest_layers/upsample2d_3x3_nearest.nnlayergolden reason: No such file or directory" thrown in the test body. [ FAILED ] Upsample2D/LayerGoldenTest.run/1, where GetParam() = (32-byte object <40-EB D5-B3 86-55 00-00 00-00 00-00 00-00 00-00 C0-BB D2-B3 86-55 00-00 E0-B8 D2-B3 86-55 00-00>, { "upsample=nearest", "kernel_size=3,3" }, 0x5586b3db2b95 pointing to "1:1:3:3", 0x5586b3db2ac8 pointing to "upsample2d_3x3_nearest.nnlayergolden", 0, "nchw", "fp32", "fp32") (0 ms)

There are some CI issues related about generating test data. But I already added testcase in gen_layer_tests.py so I'm bit confused. What should I do to fix the issue? Could you help me @jijoongmoon @baek2sm ?

heka1024 commented 1 week ago

@myungjoo I added golden layer files. Thank you.