Skip to content

Commit

Permalink
Fix serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Parzival-05 committed Dec 27, 2024
1 parent 615a7c1 commit 946a8d9
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions VSharp.Explorer/Explorer.fs
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,8 @@ type private SVMExplorer(explorationOptions: ExplorationOptions, statistics: SVM

let folderToStoreSerializationResult =
match options.aiOptions with
| Some ((Training trainingOptions)) ->
let mapName =
match trainingOptions with
| SendModel aiAgentTrainingModelOptions ->
aiAgentTrainingModelOptions.aiAgentTrainingOptions.aiBaseOptions.mapName
| SendEachStep aiOptions -> aiOptions.aiAgentTrainingOptions.aiBaseOptions.mapName

| Some (DatasetGenerator aiOptions) ->
let mapName = aiOptions.mapName
getFolderToStoreSerializationResult
(Path.GetDirectoryName explorationOptions.outputDirectory.FullName)
mapName
Expand Down

0 comments on commit 946a8d9

Please sign in to comment.