MCPcopy Create free account
hub / github.com/charlesq34/pointnet2 / log_string

Function log_string

train_multi_gpu.py:86–89  ·  view source on GitHub ↗
(out_str)

Source from the content-addressed store, hash-verified

84 TEST_DATASET = modelnet_h5_dataset.ModelNetH5Dataset(os.path.join(BASE_DIR, 'data/modelnet40_ply_hdf5_2048/test_files.txt'), batch_size=BATCH_SIZE, npoints=NUM_POINT, shuffle=False)
85
86def log_string(out_str):
87 LOG_FOUT.write(out_str+'\n')
88 LOG_FOUT.flush()
89 print(out_str)
90
91def average_gradients(tower_grads):
92 """Calculate the average gradient for each shared variable across all towers.

Callers 4

trainFunction · 0.70
train_one_epochFunction · 0.70
eval_one_epochFunction · 0.70
train_multi_gpu.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected