You need to sign in to do that
Don't have an account?
Sudipta Ghosh 9
Einstein Vision - Not able to create a Dataset
Hi,
I tried to create the dataset in Einstein Vision by downloading the Cat.zip from https://developer.salesforce.com/files/Cats.zip and uploaded it to the google drive.
The google drive link for the Cat.zip folder is https://drive.google.com/open?id=1UzCkCE8AMGuOSpwkaM6GD9Is_OsuXg2R.
The dataset is created and trained successfully .
Similarly I created a zip for Car and uploaded it to the google drive.
The link is : https://drive.google.com/open?id=1qKwfFb1Fptmd0AIL34yp5nHEl9j7JQDD
During Training it's getting falied. is there any specific folder structure to create a dataset. I have just created 3 folders with lebels and putted images under it.
Regards
Sudipta
I tried to create the dataset in Einstein Vision by downloading the Cat.zip from https://developer.salesforce.com/files/Cats.zip and uploaded it to the google drive.
The google drive link for the Cat.zip folder is https://drive.google.com/open?id=1UzCkCE8AMGuOSpwkaM6GD9Is_OsuXg2R.
The dataset is created and trained successfully .
Similarly I created a zip for Car and uploaded it to the google drive.
The link is : https://drive.google.com/open?id=1qKwfFb1Fptmd0AIL34yp5nHEl9j7JQDD
During Training it's getting falied. is there any specific folder structure to create a dataset. I have just created 3 folders with lebels and putted images under it.
Regards
Sudipta
Sorry for this issue you are encountering.
May I suggest you please check with below Salesforce help document which might help you further with the above requirement.
- https://help.salesforce.com/articleView?id=000250225&type=1
Please let us know if this helps.Thanks,
Nagendra
I have again followed the steps but no luck.
When I using https://drive.google.com/uc?export=download&id=1QbnTD9yWTcb8W4cghCiCMX8NtdURKiSM getting error "Response finished with Error: File content must be provided in one of the supported file formats: [zip, octet-stream, jpeg, png, binary]"
But using a similar link https://drive.google.com/uc?export=download&id=0BxAR1M3HgBCUTFY4YnlNdldpT00 which creats dataset successfully.
I am using EinsteinVision_Dataset createDatasetFromUrlAsync(String url) method
Regards
Sudipta
Just to be sure I understood correctly, right now you are having two separate issues.
For dataset1 : https://drive.google.com/open?id=1qKwfFb1Fptmd0AIL34yp5nHEl9j7JQDD (https://drive.google.com/open?id=1qKwfFb1Fptmd0AIL34yp5nHEl9j7JQDD) (cars.zip) you can upload successfully but you can not train it .
For dataet2: https://drive.google.com/uc?export=download&id=1QbnTD9yWTcb8W4cghCiCMX8NtdURKiSM (Mycars.zip) it throws error when you upload. There could be other issues which I will get back to you after more investigation, but first you need at least 10 examples per label for your image dataset. We will update our doc to reflect that.
So, when I click on your first link its open me the car.zip but not the second link where I am geeting below error. That's might be gdrive security setting issue.
This site can’t be reached
doc-0o-68-docs.googleusercontent.com’s server IP address could not be found.
I recommend to use cURL for dataset creation
Create a Dataset From a Zip File Synchronously ( https://metamind.readme.io/docs/create-a-dataset-zip-sync)
Install cURL:
https://curl.haxx.se/download.html
curl -X POST -H "Authorization: Bearer <<your token>>" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data" -F "data=@C:\Users\sudipta@l!$a\Desktop\My Cars\Cars.zip" -F "type=image" https://api.einstein.ai/v2/vision/datasets/upload/sync
[ Path of the zip file : Put the path of the zip file stored locally]
Thanks for your help. I was able to able to create data set. I have more query in Einstein vision Image prediction as far as i understand it can recorgnise the image with which category it belongs. But my question here is can it read letter/digit quoted on the image also?