diff options
Diffstat (limited to 'models/model.py')
-rw-r--r-- | models/model.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/models/model.py b/models/model.py index a42a5c6..11ec2f6 100644 --- a/models/model.py +++ b/models/model.py @@ -314,7 +314,8 @@ class Model: ) # Init models - model_hp = self.hp.get('model', {}) + model_hp: dict = self.hp.get('model', {}).copy() + model_hp.pop('triplet_margins', None) self.rgb_pn = RGBPartNet(self.in_channels, self.in_size, **model_hp) # Try to accelerate computation using CUDA or others self.rgb_pn = self.rgb_pn.to(self.device) |