mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-25 10:32:59 +00:00
ai: tweak progress bar
This commit is contained in:
parent
1e35802d2b
commit
1103ae5561
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def run(args):
|
|||
for rainfall in ai.embed(dataset):
|
||||
handle.write(json.dumps(rainfall.numpy().tolist(), separators=(',', ':'))+"\n") # Ref https://stackoverflow.com/a/64710892/1460422
|
||||
|
||||
if i == 0 or i % 1000 == 0:
|
||||
if i == 0 or i % 100 == 0:
|
||||
sys.stderr.write(f"[pretrain:predict] STEP {i}\r")
|
||||
i += 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue