Skip to content

Task - fix ZeroDivisionError: division by zero for diffusion forecast engine #1361

@sbAsma

Description

@sbAsma

Describe the task. It can be a feature, documentation, etc.

Error message:

5:   File "/p/project1/hclimrep/semcheddine1/WeatherGenerator/src/weathergen/run_train.py", line 190, in train_with_args
5:     trainer.run(cf, devices)
5:   File "/p/project1/hclimrep/semcheddine1/WeatherGenerator/src/weathergen/train/trainer.py", line 452, in run
5:     self.cf.istep
5: ZeroDivisionError: division by zero

happening at: https://github.com/moritzhauschulz/WeatherGenerator/blob/b3b6596721cbc1e9949bbd506347e8f1263b58e3/src/weathergen/train/trainer.py#L431

Already reported. Needed the issue to link the PR.

Hedgedoc URL, if you are keeping notes, plots, logs in hedgedoc.

No response

Area

  • datasets, data readers, data preparation and transfer
  • model
  • science
  • infrastructure and engineering
  • evaluation, export and visualization
  • documentation

Metadata

Metadata

Assignees

Labels

modelRelated to model training or definition (not generic infra)scienceScientific questions

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions