-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
I tested all 7 model in ./breizhcrops/models with same datasets in 4 classes and processing it with same code, InceptionTime model classify them to only one class, but others six models works fine.
However, after changing InceptionTime.py, line 45
def __init__(self, kernel_size=32, num_filters=128, residual=True, use_bias=False, device=torch.device("cpu")):TO
def __init__(self, kernel_size=32, num_filters=128, residual=False, use_bias=False, device=torch.device("cpu")):the result seem reasonable, all 4 classes are classified with high precision.
Do I have to uncomment line 36~38 to use residual?
#if self.use_residual and d % 3 == 2:
# x = self._shortcut_layer(input_res, x)
# input_res = xThe code I used to processing the datasets, fit the model and classify raster:
https://gist.github.com/GenghisYoung233/834909ced3531e57b8ec6e0353d17c27
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels