Add support for databases which contain more than one sample in one file
Closed
Add support for databases which contain more than one sample in one file
mutilsample
into
master
1 unresolved thread
1 unresolved thread
Merge request reports
Activity
added 25 commits
-
92341d90...578f27a2 - 23 commits from branch
master
- 52d16e5d - Add support for databases which contain more than one sample in one file
- 6966a4fd - Add data_type support
-
92341d90...578f27a2 - 23 commits from branch
assigned to @tiago.pereira
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, :, :] This is one example of #37 (closed)
Here is the commit: 77c46255
Please register or sign in to reply