| | |
| | | logo.Errorln("Slave Open so File: ", commSoFile, " Error: ", err) |
| | | return false |
| | | } |
| | | return true |
| | | return false |
| | | } |
| | | |
| | | // Run run |
| | |
| | | |
| | | } else if role == roleSlave { |
| | | ret = slave.Run(ctx, configPath, runType, id, gpu, shm) |
| | | } else if role == "test" { |
| | | ret = slave.TwoPluginConflict("./libcomm.so", "./zconf/Yolo.json") |
| | | } |
| | | |
| | | if ret { |
| | |
| | | } |
| | | } |
| | | if file == nil { |
| | | fmt.Println("Read All Config Files Failed, Use Default, example LogFile ./log/analysis-'type'") |
| | | fmt.Println(`Read All Log Config Files Failed, Use Default, "./log/analysis-[type]"`) |
| | | return |
| | | } |
| | | yamlString := string(file) |