• Shilong Zhang's avatar
    Fix potential bugs of basemodule when record the initilization information (#1217) · 18c64d5f
    Shilong Zhang authored
    * add logger for init
    
    * change init_info of oevrload init_weight
    
    * add judgement for params_init_info
    
    * add delete comments for params_init_info
    
    * add docstr and more comments
    
    * add docstr and more comments
    
    * resolve comments
    
    * dump to a file
    
    * add unitest
    
    * fix unitest
    
    * fix unitest
    
    * write to ori log
    
    * fix typo
    
    * resolve commnets
    
    * fix call initweights twice in topmost module
    
    * fix the potential bug of recursive import
    
    * fix unitest
    
    * fix potiential bugs
    
    * remove unneccesary change
    
    * add more unitest
    
    * fix add param in initweights
    
    * add more comments
    
    * raise error
    
    * add more detail assert error
    18c64d5f
test_basemodule.py 20.4 KB