Closed Brummi closed 1 year ago
Thanks Felix!
I will take a check this weekend! We are working on some data augmentations mentioned by SAVi++ also in the dataset file and will update a newer version. Will try to combine your code in the future version! Thanks a lot for your contribution!
Regards, Zhipeng
Hi,
I was playing around with the code a little and noticed that the processing of the segmentation mask in the dataloader is fairly slow. (Line 73 - 82 in dataset.py). I quickly threw together a version of this which is much faster. I propose to replace
with
On my machine, this sections gets speed up from ~0.3s to 0.01s.
Best, Felix