Skip to content

Commit

Permalink
Update test_irm.py, no_dump to save disk space, last try
Browse files Browse the repository at this point in the history
  • Loading branch information
smilesun authored Dec 10, 2024
1 parent ab19a3e commit 40327c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_irm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -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)


Expand All @@ -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)

0 comments on commit 40327c0

Please sign in to comment.