daily pastebin goal
20%
SHARE
TWEET

Untitled

a guest Dec 10th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.             };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top