suifengingo
V2EX  ›  问与答

图像数据集制作 tfrecord 文件时的问题请教

  •  
  •   suifengingo · May 28, 2020 · 629 views
    This topic created in 2191 days ago, the information mentioned may be changed or developed.
    在线请教一下大神,在将图像数据集制作成 tfrecord 文件的过程中,原来 3 通道的图像可以设置通道数为 1 吗?

    要制作 tfrecord 格式的图像是 3 通道的,由于图像数目较多,我想的是要么直接在制作 tfrecord 文件时设置 channel 数为 1 ;要么就是仍然设置通道数为 3,但是在 decode 制作好的 tfrecord 文件时将图像直接 reshape 为单通道,不知这样是否可行?特在此请教,先说声谢谢了!
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3242 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 13:13 · PVG 21:13 · LAX 06:13 · JFK 09:13
    ♥ Do have faith in what you're doing.