Skip to content

Instantly share code, notes, and snippets.

@odanado
Created February 12, 2018 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save odanado/4b4f9ad52501b0781b1fadd963a875a2 to your computer and use it in GitHub Desktop.
Save odanado/4b4f9ad52501b0781b1fadd963a875a2 to your computer and use it in GitHub Desktop.
syntax = "proto3";
package image_dataset;
message Image {
uint32 width = 1;
uint32 height = 2;
bytes data = 3;
string mode = 4;
}
message Sample {
Image image = 1;
uint32 target = 2;
}
message TrainDataset {
repeated Sample samples = 1;
}
message TestDataset {
repeated Image images = 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment