Skip to content

Commit f365138

Browse files
Dhanwanth1803Dhanwanth1803dkurt
authored
Merge pull request #1112 from Dhanwanth1803:feat-crop1
added testdata for crop #24384 #1112 --------- Co-authored-by: Dhanwanth1803 <dhanwanthvarala@gmail,com> Co-authored-by: Dmitry Kurtaev <dmitry.kurtaev@gmail.com>
1 parent 800a8c4 commit f365138

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

testdata/dnn/darknet/crop.cfg

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[net]
2+
batch=1
3+
channels=3
4+
height=5
5+
width=6
6+
7+
[crop]
8+
crop_height=2
9+
crop_width=3
10+
flip=1
11+
exposure=1
12+
saturation=1
13+
angle=0

testdata/dnn/darknet/crop_in.npy

488 Bytes
Binary file not shown.

testdata/dnn/darknet/crop_out.npy

200 Bytes
Binary file not shown.

testdata/dnn/darknet/generate_darknet_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ def genTestData(name, inpShape, outShape):
3737
genTestData('route_multi', [1, 6, 3, 6], [1, 4, 2, 3])
3838
genTestData('relu', [1, 2, 3, 4], [1, 2, 3, 4])
3939
genTestData('sam', [1, 2, 3, 4], [1, 4, 3, 4])
40-
40+
genTestData('crop', [1, 3, 5, 6], [1, 3, 2, 3])

0 commit comments

Comments
 (0)