yassouali/CCT

image resize to 512×1024

akmaralAW opened this issue · 3 comments

Hello !

As I understood image size is adjusted by crop_size in config.json, which is 320. In this case images are resized into 320x320. How can I assign two different values for the width and height ?

Thank you !

You can enter crop size as a list or tuple, like this:
image
Don't forget to adjust both train_supervised and train_unsupervised, plus add a comma after the list. Not all sizes work due to the network convolutions.

Hi @akmaralAW
I see that @SuzannaLin answered your questions, thank you!

@SuzannaLin , @yassouali thank you so much for your help !