Comments (3)
debug吧,你这个应该是哪个分组的channel数搞错了
from multi-label-classification.
训练可以训练,测试也用的训练的数据集。我就奇怪了呢,训练可以跑,测试就报哪里维度不匹配。
一定是测试与训练的时候哪里不一样。果真:
在run.py的开头 我的是tf1.15版本
if FLAGS.mode == 'test':
tf.enable_eager_execution()
会报错 “RuntimeError: iter() is only supported inside of tf.function or when eager execution is enabled”
然后我用opencv读取图片调用
results = classifier.predict(np.array(images))
就可以。。
哎,实在不知道怎么改了,不知道tf1.15与1.13这方面的差异了。
还有,
BACKBONE_RESNET_18 = 'resnet-18'
BACKBONE_RESNET_18_V2 = 'resnet-18-v2'
BACKBONE_RESNEXT_18 = 'resnext-18'
BACKBONE_MIXNET_18 = 'mixnet-18'
BACKBONE_MOBILENET_V2 = 'mobilenet-v2'
这些模型与loss与优化器哪个组合最好啊,
谢谢您能回复我一下
from multi-label-classification.
resnext-18最好,但是训练速度慢,我自己用的resnet-18,因为训练速度快,可以快速实验和调参
from multi-label-classification.
Related Issues (5)
- 求原论文 HOT 3
- 直接运行报错 HOT 4
- 我是torch选手,咨询一下GHMLoss的valid mask是怎么产生的 HOT 5
- valid_mask设置 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multi-label-classification.