Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var workingDir = "/models/research/object-detection";
- Directory.SetCurrentDirectory(workingDir);
- var process = new Process
- {
- StartInfo = new ProcessStartInfo
- {
- FileName = "python",
- Arguments = $@"legacy/train.py --logtostderr --train_dir={trainDir} --pipeline_config_path={configPath}",
- CreateNoWindow = true,
- UseShellExecute = false,
- RedirectStandardOutput = true,
- RedirectStandardError = true
- },
- EnableRaisingEvents = true
- };
Add Comment
Please, Sign In to add comment