SatelliteVu / SatelliteVu-AWS-Disaster-Response-Hackathon

Satellite Vu submission for the AWS Disaster Response hackathon
https://awsdisasterresponse.devpost.com/
Apache License 2.0
50 stars 9 forks source link

Converting npy files to TFRecords files #4

Open romass12 opened 1 year ago

romass12 commented 1 year ago

I have tried to convert .npy files to tfrecords using tf.train.Feature(float_list=tf.train.FloatList(value=array)) But, on reading features and labels from these TFRecords, it says expected string but got float32

htxiao123 commented 11 months ago

I have tried to convert .npy files to tfrecords using tf.train.Feature(float_list=tf.train.FloatList(value=array)) But, on reading features and labels from these TFRecords, it says expected string but got float32

Hi. When I run the deep_learning, I get an error saying that the .tfrecords can't be found and I don't know what to do next. Are you running smoothly? I would be grateful if you could teach me.

htxiao123 commented 11 months ago

I have tried to convert .npy files to tfrecords using tf.train.Feature(float_list=tf.train.FloatList(value=array)) But, on reading features and labels from these TFRecords, it says expected string but got float32

Hi. When I run the deep_learning, I get an error saying that the .tfrecords can't be found and I don't know what to do next. Are you running smoothly? I would be grateful if you could teach me.

And I didn't go through classical_ml, data_quality, dataset_preparation these steps, I was running the deep_learning directly, I don't know if that would work,looking forward to your reply.