Guest User

Untitled

a guest
Dec 10th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. var workingDir = "/models/research/object-detection";
  2. Directory.SetCurrentDirectory(workingDir);
  3. var process = new Process
  4. {
  5. StartInfo = new ProcessStartInfo
  6. {
  7. FileName = "python",
  8. Arguments = $@"legacy/train.py --logtostderr --train_dir={trainDir} --pipeline_config_path={configPath}",
  9. CreateNoWindow = true,
  10. UseShellExecute = false,
  11. RedirectStandardOutput = true,
  12. RedirectStandardError = true
  13. },
  14. EnableRaisingEvents = true
  15. };
Add Comment
Please, Sign In to add comment