Closed PerloDaniele closed 3 years ago
In the call to the build function you have an aditional argument after the computing service for doing what you want. The name of the parameter is "init_weights" and if you set it to False the weights will not be initialized. Link to the pyeddl doc: https://deephealthproject.github.io/pyeddl/api/eddl.html#pyeddl.eddl.build
Hi everyone, I'm trying to import a Image-Net pretrained onnx model, but if I inspect the eddl layer weights, they are re-initializated after the build call.
gives me always different values.
I think it happens because the
build
method call.initialize()
, but how can i avoid that? Do i need to build the net just for inference?