luis-armando-perez-rey / lsbd-vae Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
If I have 8 3D models with 6 possible colors I should get 48 identities times 6 random walk steps I should get 288 images. When using batch_size of 5 I am getting 270 images. I don't have problem if the batch size is 6.
EDIT: Turned out it was not a bug. It was behaving as expected. I will leave this issue because it is important to know that the data loader is fine.
To increase training stability we should:
Add dataset class that takes all possible combinations of the changing factors and creates randomly grouped data with the changing factors for each identity.
RandomWalkIdentities subclass that can create a tf.data.Dataset that outputs a random walk for each element in a list of combinations of, e.g. colors and 3D models corresponding to the identities of the objects.
Add class to load a tf.data.Dataset from a dataset of multiple factors. Similar to RandomWalkFactor dataset but each datapoint provided as output by dataset is of shape (num_identities, nfactors1, nfactors2, ... nfactorsN, *image_shape) where num_identities represents a certain object identity which can be defined by the user based on certain factors e.g. object shape and color.
Such dataset is important to evaluate DLSBD metric since this metric requires embeddings to be organized as (n_identity, nfactors1, ..., nfactorsN, latent_dim).
Add code that can take images with shape (n, h, w, d) and factors with shape (n, n_factors) and produce batches of images that can be used by an LSBDVAE
There are some calls to architectures that we don't use in the LSBDVAE project
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.