[
https://issues.apache.org/jira/browse/SINGA-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16022787#comment-16022787
]
ASF subversion and git services commented on SINGA-312:
-------------------------------------------------------
Commit fa4f631465ae033e9286b86f102d86554bea03d3 in incubator-singa's branch
refs/heads/master from wangwei
[ https://git-wip-us.apache.org/repos/asf?p=incubator-singa.git;h=fa4f631 ]
SINGA-312 Rename layer parameters
Layer parameters are now renamed to PREFIX/SUFFIX, where PREFIX could be layer
name and SUFFIX could be 'weight' or 'bias' or 'mean', etc.
> Rename layer parameters
> -----------------------
>
> Key: SINGA-312
> URL: https://issues.apache.org/jira/browse/SINGA-312
> Project: Singa
> Issue Type: Improvement
> Reporter: 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)