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

to_tfrecord.py运行后生成的图像标签为什么是空的?train以后出来的训练和测试的准确率都是0? #39

Open
syx11902 opened this issue Jan 5, 2024 · 0 comments

Comments

@syx11902
Copy link

syx11902 commented Jan 5, 2024

你好,我在运行了博主的to_tfrecord代码以后生成的datasettest.tfrecord、datasettrain.tfrecord、datasetvaild.tfrecord都是空的,这是为什么?博主的数据集应该是什么格式?是不是有格式要求?还有运行了train以后出来的训练和测试的准确率都是0?源代码里是还有要改的地方吗?
Epoch: 0/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 1/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 2/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 3/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 4/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 5/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 6/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 7/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 8/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 9/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 10/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 11/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 12/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 13/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 14/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 15/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 16/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 17/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 18/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000
Epoch: 19/20, train loss: 0.00000, train accuracy: 0.00000, valid loss: 0.00000, valid accuracy: 0.00000

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