Closed brudfors closed 3 years ago
The circular import just comes from your augmentation function in the segmentation file no? Why not keep SegNet in modules and have the augmentation function in generators?
i have added comments directly to the commit
The circular import just comes from your augmentation function in the segmentation file no? Why not keep SegNet in modules and have the augmentation function in generators?
i have added comments directly to the commit
I can't seem to find your comments in the commit?
Moved the augmentation into a new module in generators.
The circular import just comes from your augmentation function in the segmentation file no? Why not keep SegNet in modules and have the augmentation function in generators?
i have added comments directly to the commit
I can't seem to find your comments in the commit?
There are 8 comments that appear on this PR on my side. Can you see them? That's what I was referring to
The circular import just comes from your augmentation function in the segmentation file no? Why not keep SegNet in modules and have the augmentation function in generators?
i have added comments directly to the commit
I can't seem to find your comments in the commit?
There are 8 comments that appear on this PR on my side. Can you see them? That's what I was referring to
Do you mean the comment are on the code in the commit, which I can reach by, on this page, clicking Commits and then clicking on my initial commit? No, I cannot see any comments there.
Closes #40.
I got a recursive import error, so I decided to move segmentation.py to a new folder in nn, called models.
A function called add_augmenters is now part of the base nn module, supposed to be populated by a user. As augmentation is quite task-specific, I put it in segmentation.py for segmentation augmentation.
This is how it could be added to a segmentation model:
@balbasty, what do you think of the implementation and structure?