Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[BUG] MNIST LeNet forward fails on 65061dc #10976

Closed
zhanghang1989 opened this issue May 16, 2018 · 5 comments
Closed

[BUG] MNIST LeNet forward fails on 65061dc #10976

zhanghang1989 opened this issue May 16, 2018 · 5 comments

Comments

@zhanghang1989
Copy link
Contributor

MNIST LeNet forward fails on master branch. @eric-haibin-lin mentioned that it may be related to this PR #10911

import mxnet as mx
from mxnet.gluon import nn, Block
net = nn.HybridSequential()
with net.name_scope():
        net.add(nn.Conv2D(in_channels=1, channels=20, kernel_size=5))
        net.add(nn.Activation('relu'))
        net.add(nn.MaxPool2D(pool_size=2, strides=2))
        net.add(nn.Conv2D(in_channels=20, channels=50, kernel_size=5))
        net.add(nn.Activation('relu'))
        net.add(nn.MaxPool2D(pool_size=2, strides=2))
        # The Flatten layer collapses all axis, except the first one, into one axis.
        net.add(nn.Flatten())
        net.add(nn.Dense(512,in_units=800))
        net.add(nn.Activation('relu'))
        net.add(nn.Dense(10, in_units=512))
net.collect_params().initialize()
x = mx.random.uniform(shape=(8, 1, 28, 28))
net(x)

Got this error

Segmentation fault (core dumped)
@zhanghang1989 zhanghang1989 changed the title MNIST LeNet forward fails on master branch [BUG] MNIST LeNet forward fails on master branch May 16, 2018
@zhanghang1989
Copy link
Contributor Author

Failed on commit 65061dc,
but seems fixed on master now.

@zhanghang1989 zhanghang1989 changed the title [BUG] MNIST LeNet forward fails on master branch [BUG] MNIST LeNet forward fails on 65061dc93710afce92edfe548aa3352473da3cdb May 16, 2018
@zhanghang1989 zhanghang1989 changed the title [BUG] MNIST LeNet forward fails on 65061dc93710afce92edfe548aa3352473da3cdb [BUG] MNIST LeNet forward fails on 65061dc May 16, 2018
@srochel
Copy link
Contributor

srochel commented Sep 2, 2018

@mxnet-label-bot: ["Good First Issue"]

@vandanavk
Copy link
Contributor

@sandeep-krishnamurthy Please change the label to Good First Issue.

Looks like the issue is not reproducible on a more recent codebase.

@vrakesh
Copy link
Contributor

vrakesh commented Oct 8, 2018

@vandanavk if the issue is not reproducible can this be closed

@sandeep-krishnamurthy
Copy link
Contributor

sandeep-krishnamurthy commented Oct 9, 2018

resolving, issue is not reproducible. Please reopen if issue still persists.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants