Gal_M
Gal_M

Reputation: 468

Must I convert dataset to TFRecords for Google Cloud ML Engine?

Can I train my model in Google Cloud ML Engine without converting the dataset to TFRecords?

Upvotes: 1

Views: 232

Answers (1)

Iman Mirzadeh
Iman Mirzadeh

Reputation: 13560

Yes you can, according to docs:

Cloud ML Engine doesn't get involved in your data format; you can use whatever input format is convenient for your training application. That said, you'll need to have your input data in a format that TensorFlow can read. You also need to have your data in a location that your Cloud ML Engine project can access. The simplest solution is often to use a CSV file in a Google Cloud Storage bucket that your Google Cloud project has access to. Some types of data, sparse vectors and binary data for example, can be better represented using TensorFlow's tf.train.Example format serialized in a TFRecords file.

Upvotes: 5

Related Questions