d6cfffd01a2a3129739c6e76f9d966287b20b7c5,bin/basenji_predict.py,,main,#,40
Before Change
sess.run(test_init_op)
test_preds = model.predict_tfr(sess, sample=options.sample_down)
np.save("%s/preds.npy" % options.out_dir, test_preds)
// print normalization factors
target_means = test_preds.mean(axis=(0,1), dtype="float64")
target_means_median = np.median(target_means)
After Change
sess.run(test_init_op)
test_preds = model.predict_tfr(sess, sample=options.sample_down)
preds_h5 = h5py.File("%s/preds.h5" % options.out_dir, "w")
preds_h5.create_dataset("preds", data=test_preds)
preds_h5.close()
// print normalization factors
target_means = test_preds.mean(axis=(0,1), dtype="float64")
target_means_median = np.median(target_means)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: calico/basenji
Commit Name: d6cfffd01a2a3129739c6e76f9d966287b20b7c5
Time: 2019-04-12
Author: drk@calicolabs.com
File Name: bin/basenji_predict.py
Class Name:
Method Name: main
Project Name: facebookresearch/ParlAI
Commit Name: 10ef3cb6a711c52e2148cbf2635741fcaf8918d4
Time: 2017-11-01
Author: kshuster@fb.com
File Name: parlai/core/image_featurizers.py
Class Name: ImageLoader
Method Name: save
Project Name: dPys/PyNets
Commit Name: 5b62ac044be8353759b4ce159f507e5f2b985157
Time: 2020-08-21
Author: dpisner@utexas.edu
File Name: tests/test_track.py
Class Name:
Method Name: test_track_ensemble
Project Name: dPys/PyNets
Commit Name: 5b62ac044be8353759b4ce159f507e5f2b985157
Time: 2020-08-21
Author: dpisner@utexas.edu
File Name: tests/test_track.py
Class Name:
Method Name: test_track_ensemble_particle