suifengingo
V2EX  ›  问与答

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

  •  
  •   suifengingo · May 28, 2020 · 740 views
    This topic created in 2268 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   ·   5318 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 07:58 · PVG 15:58 · LAX 00:58 · JFK 03:58
    ♥ Do have faith in what you're doing.