Commit cbdcbdd9e704176bb56696b76ab8c4a1c58ae142
1 parent
ec755e37
Exists in
master
and in
1 other branch
cropping.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/test_data.py
@@ -141,8 +141,8 @@ def test_crop(): | @@ -141,8 +141,8 @@ def test_crop(): | ||
141 | 141 | ||
142 | dil2 = ILSVRC.DataILSVRC(base_dir='/data/hadoop/ImageNet/ILSVRC/ILSVRC2013_DET_val', category='Test_1_crop_pil') | 142 | dil2 = ILSVRC.DataILSVRC(base_dir='/data/hadoop/ImageNet/ILSVRC/ILSVRC2013_DET_val', category='Test_1_crop_pil') |
143 | 143 | ||
144 | - dil.format() | ||
145 | - dil.embed(rate=0.2) | 144 | + dil2.format() |
145 | + dil2.embed(rate=0.2) | ||
146 | 146 | ||
147 | X,Y = dil2.load_data(mode='local',feattype='coef') | 147 | X,Y = dil2.load_data(mode='local',feattype='coef') |
148 | print X[0] | 148 | print X[0] |