Skip to content

Commit

Permalink
Merge pull request #737 from marrlab/rn_file_deepall
Browse files Browse the repository at this point in the history
Rn file deepall
  • Loading branch information
smilesun authored Jan 10, 2024
2 parents 17657e9 + 9b288bd commit 464689a
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ where the configuration file below can be downloaded [here](https://raw.githubus
te_d: caltech # domain name of test domain
tpath: examples/tasks/task_vlcs.py # python file path to specify the task
bs: 2 # batch size
model: dann_diva # specify model
model: dann_diva # combine model DANN with DIVA
epos: 1 # number of epochs
trainer: mldg_dial # combine trainer MLDG and DIAL
gamma_y: 700000.0 # hyperparameter of diva
Expand Down
2 changes: 1 addition & 1 deletion domainlab/algos/builder_erm.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from domainlab.algos.observers.b_obvisitor import ObVisitor
from domainlab.algos.trainers.zoo_trainer import TrainerChainNodeGetter
from domainlab.compos.zoo_nn import FeatExtractNNBuilderChainNodeGetter
from domainlab.models.model_deep_all import mk_erm
from domainlab.models.model_erm import mk_erm
from domainlab.utils.utils_cuda import get_device


Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/nets/transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from domainlab.mk_exp import mk_exp
from domainlab.tasks import get_task
from domainlab.models.model_deep_all import mk_erm
from domainlab.models.model_erm import mk_erm


class VIT(nn.Module):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "domainlab"
version = "0.4.1"
version = "0.4.2"
readme = "README.md"
repository = "https://github.com/marrlab/DomainLab"
homepage = "https://marrlab.github.io/DomainLab/"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def copy_dir(dir_path="zdata"):
package_data = {
'zdata': [f for f in copy_dir()],
},
version='0.4.1',
version='0.4.2',
description='Library of modular domain generalization for deep learning',
url='https://github.com/marrlab/DomainLab',
author='Xudong Sun, et.al.',
Expand Down
2 changes: 1 addition & 1 deletion tests/test_mk_exp_deepall.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from domainlab.mk_exp import mk_exp
from domainlab.dsets.dset_mnist_color_solo_default import DsetMNISTColorSoloDefault
from domainlab.tasks.task_dset import mk_task_dset
from domainlab.models.model_deep_all import mk_erm
from domainlab.models.model_erm import mk_erm
from domainlab.tasks.utils_task import ImSize


Expand Down
2 changes: 1 addition & 1 deletion tests/test_msel_oracle.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from domainlab.algos.msels.c_msel_oracle import MSelOracleVisitor
from domainlab.algos.msels.c_msel_val import MSelValPerf
from domainlab.algos.observers.b_obvisitor import ObVisitor
from domainlab.models.model_deep_all import mk_erm
from domainlab.models.model_erm import mk_erm
from domainlab.utils.utils_cuda import get_device
from domainlab.arg_parser import mk_parser_main
from domainlab.exp.exp_main import Exp
Expand Down

0 comments on commit 464689a

Please sign in to comment.