multiple fixes
This commit is contained in:
@@ -136,17 +136,16 @@ func processZipFile(c *Context, model *BaseModel) {
|
||||
return
|
||||
}
|
||||
|
||||
if paths[0] != "training" {
|
||||
if paths[0] == "training" {
|
||||
training = InsertIfNotPresent(training, paths[1])
|
||||
} else if paths[0] != "testing" {
|
||||
} else if paths[0] == "testing" {
|
||||
testing = InsertIfNotPresent(testing, paths[1])
|
||||
}
|
||||
}
|
||||
|
||||
if !reflect.DeepEqual(testing, training) {
|
||||
c.Logger.Info("Diff", "testing", testing, "training", training)
|
||||
failed("Testing and Training datesets are diferent")
|
||||
return
|
||||
c.Logger.Warn("Diff", "testing", testing, "training", training)
|
||||
c.Logger.Warn("Testing and traing datasets differ")
|
||||
}
|
||||
|
||||
base_path := path.Join("savedData", model.Id, "data")
|
||||
|
||||
Reference in New Issue
Block a user