You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "Xin Ji (JIRA)" <ji...@apache.org> on 2018/11/27 15:41:00 UTC

[jira] [Commented] (SINGA-411) Local variable 'params' referenced before assignment

    [ https://issues.apache.org/jira/browse/SINGA-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16700599#comment-16700599 ] 

Xin Ji commented on SINGA-411:
------------------------------

I think the bug is from [line 475|https://github.com/apache/incubator-singa/blob/master/python/singa/net.py#L475] of net.py, which should be
{code:java}
sp.write('SINGA_VERSION', __version__)
{code}

I will make a PR to fix it.

> Local variable 'params' referenced before assignment
> ----------------------------------------------------
>
>                 Key: SINGA-411
>                 URL: https://issues.apache.org/jira/browse/SINGA-411
>             Project: Singa
>          Issue Type: Bug
>            Reporter: Liu Hui
>            Priority: Major
>         Attachments: Screenshot from 2018-11-27 10-18-12.png
>
>
> I compiled singa(maser:commit 3d688be) from github, then run the exapmles:python train.py vgg cifar-10-batches-py.
> But an error occurred when saved the model.
> The error shows in the attachment.
> Ubuntu 18.04, with kernel 4.15.0-39-generic
> python3.6.7
>  GPU : GeForce GTX 850M
>  dirver : nvidia-396
>  cuda-9.0, cdnn-7.1.4



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)