Comments (3)
I agree with @iliiliiliili , that ds.image("image_2")
is prettier than the flags.
The "positional" behaviour is currently used for multiple functions:
image
numpy
reshape
image_resize
We should decide between the "positional" behaviour (flags) or using keys.
To give an example, we're deciding between
ds = ds.named('label', 'image')
ds.reshape(False, new_shape)
ds.reshape(None, new_shape)
or
ds = ds.named('label', 'image')
ds.reshape(1, new_shape)
ds.reshape([1], new_shape)
ds.reshape('image', new_shape)
ds.reshape(['image'], new_shape)
What do you think, @clegaard ?
from datasetops.
I strongly favor option 2 since it is more readable in my opinion.
from datasetops.
It seems we're in agreement. I'll include the fix alongside the new image transformations after Easter.
from datasetops.
Related Issues (20)
- Add dataset.remove method
- Add split_element to convert one element into a few other elements HOT 5
- Naming of dataset.py and declaration of transforms HOT 5
- Converting to_tensorflow with variable-shape elements HOT 3
- Make `custom` private HOT 2
- Remove `extend` from Loader HOT 1
- Standard samplers HOT 1
- Dataset shape property and debuggers
- standardize-transform performance
- MXNet compatibility
- Scikit-learn compatibility
- Docs should reflect the implementation
- Add workflow for doctests HOT 1
- Rename _downstream_getter -> _parent HOT 1
- Rename repeat times to copies and remove default value
- Add save function
- Online dataset downloaders
- Slow tests HOT 3
- Difference between Dataset and Loader HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datasetops.