https://github.com/BVLC/caffe/blob/master/src/caffe/test/test_data/generate_sample_data.py example to turn my data into the h5 format.
But now I am not sure how to proceed with the caffe training?
Is there any documentation to use python and train caffe using my data?
# -*- coding: utf-8 -*-
"""
Created on Wed Apr 15 09:01:55 2015
@author: shaunak
"""
import h5py
import numpy as np
dataset = np.genfromtxt('test_data.csv',delimiter="\t")
label = np.genfromtxt('test_lab.csv',delimiter="\t")
label = label - 1 #Zero order indexing
f = h5py.File("wine_test.h5","w")
f.create_dataset("data", data= dataset)
f.create_dataset("label", data= label)
f.close()
f = h5py.File("wine_train.h5","w")
dataset = np.genfromtxt('train_data.csv',delimiter="\t")
label = np.genfromtxt('train_lab.csv',delimiter="\t")
label = label - 1 #Zero order indexing
f.create_dataset("data", data= dataset)
f.create_dataset("label", data= label)
f.close()
data section was just one column with NaN for every entry
data section was just one column with NaN for every entryWhich file are you referring to?
--
You received this message because you are subscribed to a topic in the Google Groups "Caffe Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/caffe-users/hTeaOGy_Gys/unsubscribe.
To unsubscribe from this group and all its topics, 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/a03dc7c3-8fcf-49d9-a878-6d030164d2e6%40googlegroups.com.