[ 
https://issues.apache.org/jira/browse/SINGA-312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

wangwei resolved SINGA-312.
---------------------------
    Resolution: Fixed
      Assignee: wangwei

> Rename layer parameters
> -----------------------
>
>                 Key: SINGA-312
>                 URL: https://issues.apache.org/jira/browse/SINGA-312
>             Project: Singa
>          Issue Type: Improvement
>            Reporter: wangwei
>            Assignee: wangwei
>
> The parameter names of layers follow the format of PREFIX_SUFFIX, where 
> SUFFIX is 'weight', 'bias', 'mean' or 'var'. 
> However, sometimes the PREFIX contains '_', e.g. conv1_3x3.
> A better format would be PREFIX/SUFFIX as '/' is typically not included in 
> PREFIX nor SUFFIX.
> To be compatible with the previous version, we increase the version to 1.1.1 
> and write the version into the checkpoint file. For the pickle dump file, we 
> add an entry for the version with key being '__version__'. 
> When loading the checkpoint files, we first check the '__version__' entry, 
> which is not available for checkpoint files generated by SINGA <=1.1.0.
> For checkpoint files generated by SINGA<=1.1.0, we replace '/' with '_' to 
> match the parameter name in the checkpoint file. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to