PetaVision / OpenPV

PetaVision is a C++ library for designing and deploying large-scale neurally-inspired computational models.
http://petavision.github.io
Eclipse Public License 1.0
40 stars 13 forks source link

Additional params files for InputLayerNormalizeOffsetTest #241

Closed peteschultz closed 7 years ago

peteschultz commented 7 years ago

This pull request adds additional params files to InputLayerNormalizeOffsetTest, to test additional cases:

The original params file has been renamed translate.params, and it applies an offset without resizing.

The new file resize_pad.params changes the layer size to 12x8, while loading the same 8x8 images, and sets autoResizeFlag to true and adjustAspectRatio to pad. It sets offsetX and offsetY to zero.

The new file resize_crop.params is the same, except that it sets adjustAspectRatio to crop, and sets offsetX to 1 so that the InputRegion layer will not be all ones.