analysiscenter / pydens

PyDEns is a framework for solving Ordinary and Partial Differential Equations (ODEs & PDEs) using neural networks
Apache License 2.0
283 stars 65 forks source link

Bug: type of missing layer (`ConvBlock`) #49

Open lead8000 opened 1 year ago

lead8000 commented 1 year ago

I was trying to test the examples you put in the repository (torch_examples.ipynb), but several things did not work for me, so I get the impression that the project has done some refactoring and this notebook has not been updated.

The first thing is that the CustomModel type is not implemented in model_torch.py. Then the second problem I encountered is that the ConvBlockModel type imports ConvBlock type is not implemented in batchflow.models.torch.layers.

What causes me more doubt about these errors is that the ConvBlock type has not been implemented since a few releases ago, they deleted it and do not plan to use it anymore? In that case, they would have to resolve the layouts in the ConvBlockModel type definition.