You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working with multiband (4 band) satellite images (B, T, H, W, C=4) and I have a question regarding the code in line 2930:
In line 2930:
self.encoder = CuboidTransformerEncoder(
input_shape=(T_in, H_in, W_in, base_units), ...
I was under the impression that the shape for 'CuboidTransformerEncoder' is T, H, W, C, as mentioned in line 1696. Could you clarify the underlying logic for the difference in shape parameters between these two lines?
This difference caused an error in line 1898
assert (T, H, W, C_in) == self.input_shape
Should I follow cuboid_transformer_unet_dec.py ?
The text was updated successfully, but these errors were encountered:
You may want to refer to the simplest test case to verify if the shapes are aligned correctly. It should work for multi-channel inputs according to my testing. You can modify input_shape and target_shape in line 24,25 for your own use. Please note that this test script is from my fork, which has not been merged into this repo.
I am currently working with multiband (4 band) satellite images (B, T, H, W, C=4) and I have a question regarding the code in line 2930:
In line 2930:
self.encoder = CuboidTransformerEncoder(
input_shape=(T_in, H_in, W_in, base_units), ...
I was under the impression that the shape for 'CuboidTransformerEncoder' is T, H, W, C, as mentioned in line 1696. Could you clarify the underlying logic for the difference in shape parameters between these two lines?
This difference caused an error in line 1898
assert (T, H, W, C_in) == self.input_shape
Should I follow cuboid_transformer_unet_dec.py ?
The text was updated successfully, but these errors were encountered: