Closed tgautam03 closed 2 years ago
Could you provide the error message?
I just figured it out. Modified the first line to params_init = hamiltorch.util.flatten(net).to(device).clone()
and it's working now. flatten
accepts model directly.
OK great! Nice work :)
Hi
I am working through your blog post and got this error when executing the following code block.
I've no idea what to do here.
Thanks