2399144826ce08e9052859539450fd779678d4de,tflearn/helpers/trainer.py,Trainer,restore,#Trainer#Any#Any#Any#Any#Any#Any#,376
Before Change
// TF 0.12 Fix
if not model_file[0] in ["/", "~"]:
model_file = "./" + model_file
if create_new_session:
self.close_session()
config = None
tflearn_conf = tf.get_collection(tf.GraphKeys.GRAPH_CONFIG)
After Change
// TF 0.12 Fix
if not os.path.isabs(model_file):
model_file = os.path.abspath(os.path.join(os.getcwd(), model_file))
if create_new_session:
self.close_session()
config = None
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: tflearn/tflearn
Commit Name: 2399144826ce08e9052859539450fd779678d4de
Time: 2016-12-19
Author: aymeric.damien@gmail.com
File Name: tflearn/helpers/trainer.py
Class Name: Trainer
Method Name: restore
Project Name: tflearn/tflearn
Commit Name: 2399144826ce08e9052859539450fd779678d4de
Time: 2016-12-19
Author: aymeric.damien@gmail.com
File Name: tflearn/helpers/trainer.py
Class Name: Trainer
Method Name: save
Project Name: NervanaSystems/coach
Commit Name: 135f02fb461bd31bcb3d2d32e5f7d72fe6417478
Time: 2019-01-23
Author: gal.novik@intel.com
File Name: rl_coach/dashboard_components/globals.py
Class Name: DialogApp
Method Name: getDirDialog
Project Name: NervanaSystems/coach
Commit Name: 135f02fb461bd31bcb3d2d32e5f7d72fe6417478
Time: 2019-01-23
Author: gal.novik@intel.com
File Name: rl_coach/dashboard_components/globals.py
Class Name: DialogApp
Method Name: getFileDialog