You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation requires TensorFlow or PyTorch to generate the iterator on the Windows.
Of course, I could use deplake.Dataset.dataloader to accomplish something like this question.
I would like to provide a simple method that can be done identically in all environments.
For example, I have assumed an implementation to preprocess all data in turn on the CPU using this feature.
To create data similar with the current deeplake would require some conversion process.
I assume that all series data is NumPy, and that all other data can be obtained with appropriate types such as str, int, list, etc.
Description of the possible solution
A deeplake.Dataset.tensorflow() includes generator function that yields dictionary of records.
I guess customizing its implementation.
An alternative solution to the problem can look like
ds=deeplake.empty("./example")
ds.create_tensor("image", htype="image.rgb")
ds.create_tensor("tags", htype="list")
ds.create_tensor("caption", htype="text")
fordict_of_tensorinds.numpy():
print(dict_of_tensor) # {"image": np.ndarray, "tags": list of str, "caption": str}
The text was updated successfully, but these errors were encountered:
馃毃馃毃 Feature Request
Is your feature request related to a problem?
The current implementation requires TensorFlow or PyTorch to generate the iterator on the Windows.
Of course, I could use
deplake.Dataset.dataloader
to accomplish something like this question.I would like to provide a simple method that can be done identically in all environments.
For example, I have assumed an implementation to preprocess all data in turn on the CPU using this feature.
To create data similar with the current deeplake would require some conversion process.
I assume that all series data is NumPy, and that all other data can be obtained with appropriate types such as str, int, list, etc.
Description of the possible solution
A
deeplake.Dataset.tensorflow()
includes generator function that yields dictionary of records.I guess customizing its implementation.
An alternative solution to the problem can look like
The text was updated successfully, but these errors were encountered: