MCPcopy
hub / github.com/dennybritz/cnn-text-classification-tf / main

Function main

train.py:191–193  ·  view source on GitHub ↗
(argv=None)

Source from the content-addressed store, hash-verified

189 print("Saved model checkpoint to {}\n".format(path))
190
191def main(argv=None):
192 x_train, y_train, vocab_processor, x_dev, y_dev = preprocess()
193 train(x_train, y_train, vocab_processor, x_dev, y_dev)
194
195if __name__ == '__main__':
196 tf.app.run()

Callers

nothing calls this directly

Calls 2

preprocessFunction · 0.85
trainFunction · 0.85

Tested by

no test coverage detected