17b34c69d4bc8128ae6d4dba55e209ae34bd8821,examples/basics/svhn-digit-convnet.py,,,#,89
Before Change
logger.auto_set_dir()
data_train, data_test = get_data()
config = TrainConfig(
model=Model(),
data=QueueInput(data_train),
callbacks=[
ModelSaver(),
InferenceRunner(data_test,
ScalarStats(["cost", "accuracy"]))
],
max_epoch=350,
session_init=SaverRestore(args.load) if args.load else None
)
launch_train_with_config(config, SimpleTrainer())
After Change
logger.auto_set_dir()
data_train, data_test = get_data()
config = TrainConfig(
model=Model(),
data=QueueInput(data_train),
callbacks=[
ModelSaver(),
InferenceRunner(data_test,
ScalarStats(["cost", "accuracy"]))
],
max_epoch=350,
session_init=SmartInit(args.load)
)
launch_train_with_config(config, SimpleTrainer())
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: tensorpack/tensorpack
Commit Name: 17b34c69d4bc8128ae6d4dba55e209ae34bd8821
Time: 2019-09-01
Author: ppwwyyxx@users.noreply.github.com
File Name: examples/basics/svhn-digit-convnet.py
Class Name:
Method Name:
Project Name: tensorpack/tensorpack
Commit Name: 17b34c69d4bc8128ae6d4dba55e209ae34bd8821
Time: 2019-09-01
Author: ppwwyyxx@users.noreply.github.com
File Name: examples/ResNet/cifar10-resnet.py
Class Name:
Method Name:
Project Name: tensorpack/tensorpack
Commit Name: 17b34c69d4bc8128ae6d4dba55e209ae34bd8821
Time: 2019-09-01
Author: ppwwyyxx@users.noreply.github.com
File Name: examples/ResNet/cifar10-preact18-mixup.py
Class Name:
Method Name: