ginobilinie / medSynthesis

medical image synthesis with GAN framework based on tensorflow (we also have a better version in pytorch: https://github.com/ginobilinie/medSynthesisV1)
MIT License
72 stars 24 forks source link

index out of bounds error #10

Open saiminajagi opened 5 years ago

saiminajagi commented 5 years ago

I'm using your code for 3T to 7T conversion. When i run the first program readMedImg4CaffeCropNie4SingleS.py to extract patches. I'm getting this error "IndexError: index 40000 is out of bounds for axis 0 with size 40000"? Can you please help me in solving this.

ginobilinie commented 5 years ago

you can set 40000 to a larger number