mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 09:13:01 +00:00
ai: json.dumps
This commit is contained in:
parent
940f7aa1b5
commit
17d42fe899
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class RainfallWaterContraster(object):
|
||||||
self.filepath_summary = os.path.join(self.dir_output, "summary.txt")
|
self.filepath_summary = os.path.join(self.dir_output, "summary.txt")
|
||||||
|
|
||||||
summarywriter(self.model, self.filepath_summary)
|
summarywriter(self.model, self.filepath_summary)
|
||||||
writefile(os.path.join(self.dir_output, "params.json"), self.get_config())
|
writefile(os.path.join(self.dir_output, "params.json"), json.dumps(self.get_config()))
|
||||||
else:
|
else:
|
||||||
self.model = self.load_model(filepath_checkpoint)
|
self.model = self.load_model(filepath_checkpoint)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue