推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
happy234
V2EX  ›  Python

请教各位大佬一个机器学习的问题

  •  
  •   happy234 · May 20, 2021 · 1973 views
    This topic created in 1958 days ago, the information mentioned may be changed or developed.
    我有一个训练集和很多食物的图,训练集里面每一个数据都是这个形式:
    00123.jpg 00345.jpg 00497.jpg 1
    代表了图 A 图 B 图 C,如果图 B 比图 C 更像和图 A 是一种口味的食物 那么 输出值就是 1
    测试集就是如这样的 00123.jpg 00345.jpg 00497.jpg 数据,然后预测 1 还是 0.

    这样的问题该用什么方法做,请教大佬们
    或者有偿求帮做,一个机器学习的作业
    Supplement 1  ·  May 20, 2021
    有偿帮做的大佬+wx: kellycriterion
    5 replies  •  2021-06-07 10:02:24 +08:00
    happy234
        1
    happy234  
    OP
       May 20, 2021
    提示说要用预训练模型
    ox180
        2
    ox180  
       May 20, 2021
    取图 A 图 B 图 C 各自的向量,多输入后接入 dense 层,做二份类呢
    opeth
        3
    opeth  
       May 21, 2021
    建议用 metric learning,比如 contrastive loss 或者 triplet loss
    jsutfun
        4
    jsutfun  
       May 22, 2021
    最简单得 Rest50 堆一下,后面跟一个全连接
    ldyisbest
        5
    ldyisbest  
       Jun 7, 2021
    Siamese network,用孪生网络,训练人类识别的一个网络
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   970 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 228ms · UTC 22:27 · PVG 06:27 · LAX 15:27 · JFK 18:27
    ♥ Do have faith in what you're doing.