Thank you so much for sharing
I am trying to retrain your network on the PBVS dataset, and I tried running your code without any modification, but I get this error:
Traceback (most recent call last):
File "main.py", line 185, in
main()
File "main.py", line 96, in main
L1_loss = tf.compat.v1.losses.absolute_difference(y, t)
File "C:\Users\moaaz\anaconda3\envs\TherISuRNet\lib\site-packages\tensorflow_core\python\ops\losses\losses_impl.py", line 253, in absolute_difference
predictions.get_shape().assert_is_compatible_with(labels.get_shape())
File "C:\Users\moaaz\anaconda3\envs\TherISuRNet\lib\site-packages\tensorflow_core\python\framework\tensor_shape.py", line 1115, in assert_is_compatible_with
raise ValueError("Shapes %s and %s are incompatible" % (self, other))
ValueError: Shapes (4, 192, 192, 3) and (4, 256, 256, 3) are incompatible
Trying to find what is the cause of the problem, I found that y and t in main.py Line#92 are of different sizes. Digging further into it, I found that in model.py Line#75, you use the img_size3, img_size3 , where in model.py Line#95 you use size=[h * 4, w * 4] , and that is why y and t are resulting in different sizes. Is that how it is supposed to be?
I wonder if you can help me with it.