Azathoth42

tfrecord inspection dump

Jun 23rd, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. racinmat@goedel:/mnt/datagrid/personal/racinmat/anime-style-transfer/code/data-preparation$ python3 verify_tfrecords.py --input_data_pattern=/mnt/datagrid/personal/racinmat/anime-style-transfer/datasets/anime/*.tfrecord
  2. input_data_pattern is: /mnt/datagrid/personal/racinmat/anime-style-transfer/datasets/anime/*.tfrecord
  3. INFO:tensorflow:Found 2 files.
  4. record type:
  5. <class 'tensorflow.core.example.example_pb2.Example'>
  6. record fields:
  7. <class 'google.protobuf.pyext._message.FieldDescriptor'> <class 'tensorflow.core.example.feature_pb2.Features'>
  8. field type: 11
  9. field name: features
  10. field label: 1
  11. features list dump:
  12. <class 'google.protobuf.pyext._message.FieldDescriptor'> <class 'google.protobuf.pyext._message.MessageMapContainer'>
  13. field_2 type: 11
  14. field_2 name: feature
  15. field_2 label: 3
  16. container keys
  17. ['anime_data']
  18. <class 'tensorflow.core.example.feature_pb2.Feature'>
  19. <class 'google.protobuf.pyext._message.FieldDescriptor'> <class 'tensorflow.core.example.feature_pb2.FloatList'>
  20. field_3 type: 11
  21. field_3 name: float_list
  22. field_3 label: 1
  23. floats values: [(<class 'google.protobuf.pyext._message.FieldDescriptor'>, <class 'google.protobuf.pyext._message.RepeatedScalarContainer'>)]
  24. <class 'google.protobuf.pyext._message.FieldDescriptor'> <class 'google.protobuf.pyext._message.RepeatedScalarContainer'>
  25. field_4 type: 2
  26. field_4 name: value
  27. field_4 label: 3
  28. repeated_scalar length: 786432
  29. record type:
  30. <class 'tensorflow.core.example.example_pb2.Example'>
  31. record fields:
  32. <class 'google.protobuf.pyext._message.FieldDescriptor'> <class 'tensorflow.core.example.feature_pb2.Features'>
  33. field type: 11
  34. field name: features
  35. field label: 1
  36. features list dump:
  37. <class 'google.protobuf.pyext._message.FieldDescriptor'> <class 'google.protobuf.pyext._message.MessageMapContainer'>
  38. field_2 type: 11
  39. field_2 name: feature
  40. field_2 label: 3
  41. container keys
  42. ['anime_data']
  43. <class 'tensorflow.core.example.feature_pb2.Feature'>
  44. <class 'google.protobuf.pyext._message.FieldDescriptor'> <class 'tensorflow.core.example.feature_pb2.FloatList'>
  45. field_3 type: 11
  46. field_3 name: float_list
  47. field_3 label: 1
  48. floats values: [(<class 'google.protobuf.pyext._message.FieldDescriptor'>, <class 'google.protobuf.pyext._message.RepeatedScalarContainer'>)]
  49. <class 'google.protobuf.pyext._message.FieldDescriptor'> <class 'google.protobuf.pyext._message.RepeatedScalarContainer'>
  50. field_4 type: 2
  51. field_4 name: value
  52. field_4 label: 3
  53. repeated_scalar length: 786432
Add Comment
Please, Sign In to add comment