From cc6749737cadded24e2dd0c19047c38eccb95033 Mon Sep 17 00:00:00 2001 From: AndreaCossu Date: Fri, 16 Feb 2024 15:56:45 +0100 Subject: [PATCH] Fixed scr positional parameters warning --- avalanche/training/supervised/supervised_contrastive_replay.py | 1 + 1 file changed, 1 insertion(+) diff --git a/avalanche/training/supervised/supervised_contrastive_replay.py b/avalanche/training/supervised/supervised_contrastive_replay.py index 8eba2c6bc..f4dd44a0a 100644 --- a/avalanche/training/supervised/supervised_contrastive_replay.py +++ b/avalanche/training/supervised/supervised_contrastive_replay.py @@ -34,6 +34,7 @@ class SCR(SupervisedTemplate): def __init__( self, + *, model: SCRModel, optimizer: Optimizer, augmentations=Compose([Lambda(lambda el: el)]),