0

How can we import tensorflow_datasets in tensorflowJS. The only example to import TensorFlow dataset shown on the website uses python

1
  • 1
    If the answer solves your issue don't forget to accept that answer and close the issue. Commented Nov 21, 2020 at 3:20

1 Answer 1

2

You can use tfjs-data for importing datasets but as it is provided in the repo it is not yet production-ready.

import * as tf from '@tensorflow/tfjs';
URL = ""
const dataset = tf.data.csv(
   URL, {
      columnConfigs: {
         medv: {
         isLabel: true
      }
   }
});

So you have to use this package or you can process the data from your model and move it to some other resource and access it from there.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.