Skip to content

Commit

Permalink
fix: do not configure ModelDescr (error: decimal param was decimals; …
Browse files Browse the repository at this point in the history
…after other recent changes we can now rely on defaults)
  • Loading branch information
melisande-c committed Oct 21, 2024
1 parent ff05fc1 commit fd3c0bc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/careamics/model_io/bioimage/model_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,15 +284,6 @@ def create_model_description(
weights=weights_descr,
attachments=[FileDescr(source=config_path)],
cite=config.get_algorithm_citations(),
config={ # conversion from float32 to float64 creates small differences...
"bioimageio": {
"test_kwargs": {
"pytorch_state_dict": {
"decimals": 0, # ...so we relax the constraints on the decimals
}
}
}
},
)

return model
Expand Down

0 comments on commit fd3c0bc

Please sign in to comment.