Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

应用到cifar-10小型数据集 #13

Open
xuyifu111 opened this issue Sep 25, 2021 · 0 comments
Open

应用到cifar-10小型数据集 #13

xuyifu111 opened this issue Sep 25, 2021 · 0 comments

Comments

@xuyifu111
Copy link

感谢您为我的问题挤出时间来帮我解决,我表示由衷的感谢!
在tensorflow框架下,我将您的代码放入到resnet vgg-16 NIN模型中来对cifar-10数据集进行分类,发现训练的时候损失为nan以及验证集准确率一直为0.1。请问您知道是什么原因吗?下面这是我的tensorflow代码
channels = inputs.get_shape().as_list()[-1] scales1 = Conv2D(channels,kernel_size=3, strides=1, padding="same")(inputs) scales1 = BatchNormalization()(scales1) return tf.maximum(inputs,scales1)

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

No branches or pull requests

1 participant