f713e25a706eea6866a3a4324d5bf5fcada5dbcd,examples/gluon_simple.py,,,#,17

Before Change


    "--epochs", type=int, default=10, help="number of epochs to train (default: 10)"
)
parser.add_argument("--cuda", action="store_true", default=False, help="Train on GPU with CUDA")
parser.add_argument(
    "--log-interval",
    type=int,
    default=100,
    metavar="N",
    help="how many batches to wait before logging training status",
)
opt = parser.parse_args()


// define network

After Change


CUDA = False
EPOCHS = 10
BATCHSIZE = 128
DEVICE = torch.device("cpu")
LOG_INTERVAL = 100


// define network
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pfnet/optuna
Commit Name: f713e25a706eea6866a3a4324d5bf5fcada5dbcd
Time: 2020-11-04
Author: crissman@preferred.jp
File Name: examples/gluon_simple.py
Class Name:
Method Name:


Project Name: naoto0804/pytorch-AdaIN
Commit Name: 4a5eef64d2a0ab5e1737ffbb345d9e72d2f1adc9
Time: 2018-05-16
Author: inoue@hal.t.u-tokyo.ac.jp
File Name: test.py
Class Name:
Method Name:


Project Name: naoto0804/pytorch-AdaIN
Commit Name: 4a5eef64d2a0ab5e1737ffbb345d9e72d2f1adc9
Time: 2018-05-16
Author: inoue@hal.t.u-tokyo.ac.jp
File Name: train.py
Class Name:
Method Name: