Browse Source

rename dann.py to train.py

master
wogong 5 years ago
parent
commit
286ca1be0d
  1. 2
      experiments/mnist_mnistm.py
  2. 2
      experiments/office.py
  3. 2
      experiments/office31_10.py
  4. 2
      experiments/svhn_mnist.py

2
experiments/mnist_mnistm.py

@ -4,7 +4,7 @@ import sys
import torch import torch
sys.path.append('../') sys.path.append('../')
from models.model import MNISTmodel, MNISTmodel_plain from models.model import MNISTmodel, MNISTmodel_plain
from core.dann import train_dann
from core.train import train_dann
from utils.utils import get_data_loader, init_model, init_random_seed from utils.utils import get_data_loader, init_model, init_random_seed

2
experiments/office.py

@ -4,7 +4,7 @@ import sys
import torch import torch
sys.path.append('../') sys.path.append('../')
from core.dann import train_dann
from core.train import train_dann
from core.test import test from core.test import test
from models.model import AlexModel from models.model import AlexModel
from utils.utils import get_data_loader, init_model, init_random_seed from utils.utils import get_data_loader, init_model, init_random_seed

2
experiments/office31_10.py

@ -2,7 +2,7 @@ import os
import sys import sys
sys.path.append('../') sys.path.append('../')
from core.dann import train_dann
from core.train import train_dann
from core.test import test from core.test import test
from models.model import AlexModel from models.model import AlexModel

2
experiments/svhn_mnist.py

@ -5,7 +5,7 @@ import torch
sys.path.append('../') sys.path.append('../')
from models.model import SVHNmodel from models.model import SVHNmodel
from core.dann import train_dann
from core.train import train_dann
from utils.utils import get_data_loader, init_model, init_random_seed from utils.utils import get_data_loader, init_model, init_random_seed

Loading…
Cancel
Save