01f334dcd78e262f9a0483b9b4d1a8586c1680c3,main.py,,main,#,8
Before Change
// config.dataset, config.batch_size, config.shuffle,
// **kwargs)
data_loader = None, None
// instantiate trainer
trainer = Trainer(config, data_loader)
After Change
// either train
if config.is_train:
save_config(config)
trainer.train()
// or load a pretrained model and test
else:
trainer.test()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: kevinzakka/recurrent-visual-attention
Commit Name: 01f334dcd78e262f9a0483b9b4d1a8586c1680c3
Time: 2018-01-21
Author: kevinarmandzakka@gmail.com
File Name: main.py
Class Name:
Method Name: main
Project Name: eriklindernoren/PyTorch-GAN
Commit Name: fc9e5824ad7bd3094f5012dc6fc3d2348481a2f4
Time: 2019-04-02
Author: eriklindernoren@live.se
File Name: implementations/bicyclegan/bicyclegan.py
Class Name:
Method Name: sample_images
Project Name: alfredfrancis/ai-chatbot-framework
Commit Name: d68beca6f553622b92f2709cf984023dbf284e98
Time: 2016-12-23
Author: alfred.francis@pearldatadirect.com
File Name: core/intentClassifier.py
Class Name: IntentClassifier
Method Name: train