[BUG] dataset_meta.json isn't updated after create_tensor
See original GitHub issue🐛🐛 Bug Report
After loading an existing dataset with hub.dataset, create_tensor doesn’t update the “tensors” attribute in dataset_meta.json.
⚗️ Current Behavior
For example, a dataset called “hub_dataset” with tensor “images” already exists. Loading it with hub.dataset then appending a new tensor, “test”:
ds = hub.dataset("hub_dataset")
ds.create_tensor('test')
The “tensors” attribute in dataset_meta.json won’t contain the “test” tensor.
{"version": "2.0.8", "tensors": ["images"]}
⚙️ Environment
Python
version(s): [3.7.11]OS
: Ubuntu 18.04
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
After data augmentation - can't use from_tensor_slices
I got the following error while working on ~ 200MB of data : ValueError: Cannot create a tensor proto whose content is larger...
Read more >meta.json is not generated after network issues, still ... - GitHub
I'm using premium azure files as my prometheus storage, the problem happens when there is a network jitter a week ago, since then,...
Read more >Writing custom datasets - TensorFlow
Follow this guide to create a new dataset (either in TFDS or in your own repository). Check our list of datasets to see...
Read more >Tensor returned : - Hugging Face
Create a new dataset sorted according to a column. Currently sorting according to a column name uses pandas sorting algorithm under the hood....
Read more >Building Efficient Custom Datasets in PyTorch
creating a brand new Dataset using basic Python I/O and some static ... Notice that we do not need to prepare the tensors...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @divikshrivastava, welcome to Hub, and thank you for your willingness to contribute! Since this issue is not high priority, would you mind taking a look at the open issues for Hacktoberfest? Here’s the link: https://github.com/activeloopai/Hub/projects/11.
@mccrearyd I’m also experiencing this issue. Will create a ticket internally.
Thanks for pointing this out @rahulbshrestha!