谷歌近期开源了 TensorFlow Recorder
尝试使用 报错最末一行
AttributeError: DataFrame does not contain column split listed in schema
参看 https://github.com/google/tensorflow-recorder
Default Schema
This format looks like a Pandas DataFrame or CSV formatted as:
split | image_uri | label |
---|---|---|
TRAIN | gs://my/bucket/image1.jpg | cat |
where:
split
can take on the values TRAIN, VALIDATION, and TESTimage_uri
specifies a local or Google Cloud Storage location for the image file.label
can be either a text based label that will be integerized or integer
于是在 csv中增加split 和内容,name改为 image_url
再次执行,可正常制作