From 40327c0b6db2c17b401dcc53327e982609493133 Mon Sep 17 00:00:00 2001 From: Xudong Sun Date: Tue, 10 Dec 2024 16:08:40 +0100 Subject: [PATCH] Update test_irm.py, no_dump to save disk space, last try --- tests/test_irm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_irm.py b/tests/test_irm.py index a0b6acb8a..2cc736374 100644 --- a/tests/test_irm.py +++ b/tests/test_irm.py @@ -9,7 +9,7 @@ def test_irm(): train with Invariant Risk Minimization """ args = "--te_d=caltech --task=mini_vlcs --debug --bs=2 --model=erm \ - --trainer=irm --nname=alexnet" + --trainer=irm --nname=alexnet --no_dump" utils_test_algo(args) def test_irm_sepdom(): @@ -28,7 +28,7 @@ def test_irm_scheduler(): train with Invariant Risk Minimization """ args = "--te_d=caltech --task=mini_vlcs --debug --bs=2 --model=erm \ - --trainer=hyperscheduler_irm --nname=alexnet" + --trainer=hyperscheduler_irm --nname=alexnet --no_dump" utils_test_algo(args) @@ -39,5 +39,5 @@ def test_irm_mnist(): train with Invariant Risk Minimization """ args = "--te_d=0 --task=mnistcolor10 --keep_model --model=erm \ - --trainer=irm --nname=conv_bn_pool_2" + --trainer=irm --nname=conv_bn_pool_2 --no_dump" utils_test_algo(args)