Shreeyak / pytorch-lightning-segmentation-template

Semantic Segmentation on the LaPa dataset using Pytorch Lightning
Apache License 2.0
13 stars 5 forks source link

trainer config confusion between float/int for limit_train_batches param #24

Closed Shreeyak closed 3 years ago

Shreeyak commented 3 years ago

Currently float given pref. Hence: If 42 given, it will convert to 42.0 If int given pref, 1.0 gets converted to 1 (1 batch vs 100%)

Pass default value of 1.0 and give int pref.