amiralansary / rl-medical

Deep Reinforcement Learning (DRL) agents applied to medical images
Apache License 2.0
177 stars 69 forks source link

fixed screen indexes in medical.py #4

Closed brdav closed 6 years ago

brdav commented 6 years ago

Hi screen_xmax should be adapted relative to screen_xmin when adjusting the indexes in my opinion. I noticed because I got a mismatch of array size when filling screen with data in line 506, which threw an error. Somaniaz

amiralansary commented 6 years ago

Good catch, although I have not encountered an error of size mismatching in many experiments. Thanks!