instance-segmentation-with-discriminative-loss-tensorflow icon indicating copy to clipboard operation
instance-segmentation-with-discriminative-loss-tensorflow copied to clipboard

How do I change the batch_size?

Open DongwhanLee opened this issue 3 years ago • 2 comments

Hi, I am Dongwhan Lee from Korea.

I am impressed by your work and trying to follow yours. However, I encountered the error like below:

image

That error message appears after I changed batch_size=1 to batch_size=16 in "training.py". I looked into "datagenerator.py" too but failed to how to fix the error.

Is there any way to change the batch_size? If so, could you let me know? Plus, I also wonder where that 1 in (1, 512, 512, 3) comes from.

Thank you in advance.

DongwhanLee avatar Apr 08 '21 07:04 DongwhanLee

Hi, This is Parth Dave.

I am trying to run this program on my machine. Can you please give me the Requirements to run the code?

parthdave1210 avatar May 19 '21 04:05 parthdave1210

I also have this problem, have you solved it? And can you tell me how did you solved it ?think you

jinghanxu1999 avatar Oct 02 '21 06:10 jinghanxu1999