lfz / DSB2017

The solution of team 'grt123' in DSB2017
MIT License
1.23k stars 418 forks source link

Crop - when is s>e not met #129

Open johnmccabe44 opened 3 years ago

johnmccabe44 commented 3 years ago

Hi, Can I check under what conditions s>e is False in the code in detector/data.py lines 192:204

I guess I am not sure why the end is being calculated by adding radius and taking away the size of the patch.

Would this mean that all crops default to np.random.randint(e,s)? Not sure that this makes any difference to anything downstream, more curious than anything else.

Thanks, John