Nope, I have not. I've tried creating synthetic 2-class datasets, which also resulted in predictions of only one class.
--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/7ecaa76d-3e17-49a9-b83e-de5f6178125c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/648c0147-5815-4049-9add-c7754872a0cb%40googlegroups.com.
Sorry, the cat got my keyboard.
I'll verify that tonight. I am loading and resizing the RGB images as follows:
im = np.array(Image.open(in_).resize((HEIGHT, WIDTH), Image.ANTIALIAS))im = im[:, :, ::-1]im = im.transpose((2, 0, 1))im_dat = caffe.io.array_to_datum(im)in_txn.put('{:0>10d}'.format(in_idx), im_dat.SerializeToString())
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/CA%2BdcAtx0akC6aTkj0TwVe64P0VyaToBwAP%2BBHpQsZ8SA89brXg%40mail.gmail.com.
Gavin,
I just ran some tests to see how the compressed images look like, and i found out that some noise is generated by doing ANTIALIAS, i suggest you to try using the nearest neighbor.
However after checking this resizing I'm still stucked. I will train it again but not from scratch.
im = np.array(Image.open(in_).resize((HEIGHT, WIDTH), Image.NEAREST))
im = im[:, :, ::-1]im = im.transpose((2, 0, 1))im_dat = caffe.io.array_to_datum(im)
in_txn.put('{:0>10d}'.format(in_idx), im_dat.SerializeToString())
Evan,
Thanks for your answer, i was thinking about doing the net surgery to the Alexnet to base my semantic segmentator on the last network you uploaded (FCN-AlexNet PASCAL).
Are there other considerations regarding this model?
Carlos
--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/ee1c3149-8049-492d-872a-167e41067fd3%40googlegroups.com.
Thanks . Actually I also tried changing the group to one but wasn't sure if that was a good fix or just a poor work around. It's just that my loss continues to be around 60-80 all the time where usually it should be a few thousand. When creating the lmdb files I actually threshold my ground truth grayscale image to have only zero and ones in order for the net to classify it correctly. I think that's my issue or the solver.prototxt . If you have yours available and could post it I would really appreciate it :)
--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/f9b1439a-3e9c-40d8-83f8-00bb64c5547f%40googlegroups.com.