Open chrhenning opened 4 years ago
Hi Christian,
Thanks very much for bringing this example to my attention! I will make sure that I look into that soon.
I plan on making a few code updates soon and will also try to test out your example when I push the next updates.
Thanks very much for using the repo!
All the best,
Adam
Hey,
thanks so much for providing the repo. At the moment, it seems that the code can't deal with PyTorch models that call internal methods inside the
forward
method. I think it would be a great feature if such models could be supported in the future.Here is an example model, that wouldn't work (assuming that I use the code correctly):
The reference to the method
_int_forward
is not considered in the functionhamiltorch.util.make_functional
.Again, thanks for the great repo, Christian