Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

miro no dump #895

Merged
merged 3 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test_miro.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ def test_miro():
train with MIRO
"""
args = "--te_d=caltech --task=mini_vlcs --debug --bs=2 --model=erm \
--trainer=miro --nname=alexnet"
--trainer=miro --nname=alexnet --no_dump"
utils_test_algo(args)
2 changes: 1 addition & 1 deletion tests/test_miro2.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ def test_miro2():
"""
args = "--te_d=2 --tr_d 0 1 --task=mnistcolor10 --debug --bs=100 --model=erm \
--trainer=miro --nname=conv_bn_pool_2 \
--layers2extract_feats _net_invar_feat.conv_net.5"
--layers2extract_feats _net_invar_feat.conv_net.5 --no_dump"
utils_test_algo(args)
2 changes: 1 addition & 1 deletion tests/test_miro3.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def test_miro3():
"""
args = "--te_d=caltech --task=mini_vlcs --debug --bs=2 --model=erm \
--trainer=miro --nname=alexnet \
--layers2extract_feats features"
--layers2extract_feats features --no_dump"
with pytest.raises(RuntimeError):
utils_test_algo(args)
raise RuntimeError("This is a runtime error")
Loading