MIC-DKFZ / BraTS2017

Apache License 2.0
74 stars 16 forks source link

/batchgenerators/batchgenerators/augmentations/crop_and_pad_augmentations.py:140: UserWarning: Raause the crop along with the dasired margin does not fit the data. data: (1, 4, 160, 192, 160), crop_s4.0] str(margins))) #20

Closed yianzhongguo closed 5 years ago

yianzhongguo commented 5 years ago

@FabianIsensee Hi, sir. When I trained the network the following warning emerged : /batchgenerators/batchgenerators/augmentations/crop_and_pad_augmentations.py:140: UserWarning: Raause the crop along with the dasired margin does not fit the data. data: (1, 4, 160, 192, 160), crop_s4.0] str(margins))). I am puzzled. Did you experience it?

FabianIsensee commented 5 years ago

please pull batchgenerators again and reinstall it with "pip install --upgrade ."

yianzhongguo commented 5 years ago

Thank you!

yianzhongguo commented 5 years ago

@FabianIsensee Hi, sir. Sorry,but it is not clear for me about "pull batchgenerators". I reinstall the batchgenerators with the command "pip install --upgrade batchgenerators" and the issue is still there.

FabianIsensee commented 5 years ago

I presume you got batchgenerators from our git repository? You need to get the most recent version by pulling from that git repo again. Go into the folder where the installation files are and type "git pull"

yianzhongguo commented 5 years ago

Thank you very much!