Skip to content
Snippets Groups Projects

Add support for databases which contain more than one sample in one file

Closed Amir MOHAMMADI requested to merge mutilsample into master
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
92 98 return tf.train.Feature(int64_list=tf.train.Int64List(value=[value]))
93 99
94 100
95 def bob2skimage(bob_image):
96 """
97 Convert bob color image to the skcit image
98 """
99
100 if bob_image.ndim==2:
101 skimage = numpy.zeros(shape=(bob_image.shape[0], bob_image.shape[1], 1))
102 skimage[:, :, 0] = bob_image
103 else:
104 skimage = numpy.zeros(shape=(bob_image.shape[1], bob_image.shape[2], bob_image.shape[0]))
105 skimage[:, :, 2] = bob_image[0, :, :]
106 skimage[:, :, 1] = bob_image[1, :, :]
107 skimage[:, :, 0] = bob_image[2, :, :]
  • Amir MOHAMMADI deleted source branch mutilsample

    deleted source branch mutilsample

  • why you delete this one?

  • I merged it into master using command line

  • Here is the commit: 77c46255

  • Please register or sign in to reply
    Loading