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

BUG report: change height and width in architecture #29

Open
MihawkHu opened this issue Feb 18, 2020 · 0 comments
Open

BUG report: change height and width in architecture #29

MihawkHu opened this issue Feb 18, 2020 · 0 comments

Comments

@MihawkHu
Copy link

Hi,

When I use my own dataset whose width and height is not the same. I noticed that there is a small mistake in the codes.

Because the data you used has the same width and height, so it's ok for your current version. But when data with different height and width is used, it can not work.

In file "dagan_architectures.py",

line 270, it should be
w = concat_shape[len(encoder_layers) - 1 - i][2]

line 318, it should be
w_size=upscale_shape[2],

line 319, it shoule be
h_size=upscale_shape[1]

line 355, it should be
dim_upscale=True, local_inner_layers=decoder_inner_layers, w_size=upscale_shape[2],

line 336, it shoule be
h_size=upscale_shape[1], dropout_rate=dropout_rate)

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

No branches or pull requests

1 participant