Skip to content

Identity mapping causes zero rows #2

@daviddao

Description

@daviddao

Using an identity transformation in transfromerlayer_test.py with all weights set to zero :

Expected output_train shape (1, 1200, 1600, 3)
Actual output_train shape (1, 1200, 1600, 3)
Transformation matrix:
[[ 1.  0.  0.  0.  1.  0.]]

I get following image matrix:

screen shot 2016-03-25 at 6 41 53 pm

However the original image is:

screen shot 2016-03-25 at 6 42 01 pm

Does the row full of zeros have sth to do with the bilinear interpolation? Is it supposed to be like this?
Here the case with 100 fold downsampling:

download 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions