RuRo commented on issue #11434: add ignore_reinit to initialize to skip warnings
URL: https://github.com/apache/incubator-mxnet/pull/11434#issuecomment-582142854
 
 
   @leezu, oh I didn't know, that `collect_params` accepted a regex. Nice.
   
   Yeah, in my case, I dynamically assemble models from bits and pieces, based 
on a huge config file, with some pretrained `gluon`/`gluoncv` model zoo 
fragments, some newly created Blocks and possibly some blocks from our custom, 
previously pretrained models.
   
   I guess, I could build some system around it, to keep track, which blocks 
need initialization or immediately initialize new blocks, when creating them, 
but just doing `model.initialize()` at the end is so much simpler and does 
exactly what I want it to do.
   
   Also, some models in `gluoncv.model_zoo` are returned partially initialized 
in different ways, depending on which `**kwargs` you passed to `get_model` and 
I really don't want to "support" all the various initialization configurations.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to