GithubHelp home page GithubHelp logo

Comments (3)

zheng-yuwei avatar zheng-yuwei commented on May 29, 2024

debug吧,你这个应该是哪个分组的channel数搞错了

from multi-label-classification.

wuzuowuyou avatar wuzuowuyou commented on May 29, 2024

训练可以训练,测试也用的训练的数据集。我就奇怪了呢,训练可以跑,测试就报哪里维度不匹配。
一定是测试与训练的时候哪里不一样。果真:
在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.

zheng-yuwei avatar zheng-yuwei commented on May 29, 2024

resnext-18最好,但是训练速度慢,我自己用的resnet-18,因为训练速度快,可以快速实验和调参

from multi-label-classification.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.