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

Layer test #354

Closed
wants to merge 11 commits into from
Closed

Layer test #354

wants to merge 11 commits into from

Conversation

NALLEIN
Copy link
Collaborator

@NALLEIN NALLEIN commented Jul 18, 2020

Pull Request Readiness Checklist

Fix #329
The test method is as follows
Set test data path

git clone https://github.com/opencv/opencv_extra.git
export OPENCV_TEST_DATA_PATH=${PATH_TO}/opencv_extra/testdata

Test ops

git clone https://github.com/NALLEIN/opencv.git
cd opencv/
git checkout -b layerTest origin/layerTest
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=Release -DWITH_WEBGPU=ON -D CMAKE_INSTALL_PREFIX=/usr/local ..
make -j8
$(PATH_TO_OPENCV)/build/bin/opencv_test_dnn --gtest_filter=*layers*

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under OpenCV (BSD) License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or other license that is incompatible with OpenCV
  • The PR is proposed to proper branch
  • There is reference to original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@NALLEIN NALLEIN mentioned this pull request Jul 20, 2020
8 tasks
@huningxin
Copy link
Owner

@NALLEIN , after PR #338 merged, please clean this PR and rebase to gsoc_2020_gpu branch.

@wzw-intel , please help review the ops implementation.

@NALLEIN
Copy link
Collaborator Author

NALLEIN commented Jul 28, 2020

Now the WGPU backend could pass all the test case about layers using following instructions:
Set test data path

git clone https://github.com/opencv/opencv_extra.git
export OPENCV_TEST_DATA_PATH=${PATH_TO}/opencv_extra/testdata

Test ops

git clone https://github.com/NALLEIN/opencv.git
cd opencv/
git checkout -b layerTest origin/layerTest
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=Release -DWITH_WEBGPU=ON -D CMAKE_INSTALL_PREFIX=/usr/local ..
make -j8
$(PATH_TO_OPENCV)/build/bin/opencv_test_dnn --gtest_filter=*layers*

@huningxin @wzw-intel PTAL.

@NALLEIN
Copy link
Collaborator Author

NALLEIN commented Sep 9, 2020

Done in upstream PR.

@NALLEIN NALLEIN closed this Sep 9, 2020
@NALLEIN NALLEIN deleted the layerTest branch September 16, 2020 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants