Théophile Gaudin
Théophile Gaudin
I'm actually also interested to access the output of the loss. Indeed I want to implement a weighted loss function (ie like in the U-Net http://lmb.informatik.uni-freiburg.de/resources/opensource/unet.en.html) What would be the...
Actually the bug seems to come from pydantic directly: ```python from pydantic import BaseModel, create_model from pydantic.schema import model_schema, model_process_schema Test = create_model('Test', id=int, name=str) print(model_schema(Test)) print(model_process_schema(Test, model_name_map='Test')) ``` outputs:...
[issue on pydantic's repo](https://github.com/samuelcolvin/pydantic/issues/1428)
It's actually working now! Interesting... Thanks you very much @amitdo!