Comments (2)
Hi Felix, I can see why this is confusing, the SOM code itself makes few assumptions about the structure of the data it receives. Instead, the batching is handled by the caller. For example, these lines in the example script use the tensorflow datasets interface to handle the batching. The SOM code just gets the iterator and pulls however many tensors that the iterator specifies. The loop in the training function needs to know the batch size to make sure it doesn't loop too many times and exhaust the data stream.
Hope that makes sense, let me know if you have any further questions!
from tensorflow-som.
I see, thanks for the clarification!
from tensorflow-som.
Related Issues (9)
- Does not work on Color data HOT 3
- Session No longer supported in tf v2.0 HOT 1
- Where is Jupyter Notebook? HOT 3
- Fix _make_activity_op HOT 1
- Cannot create a tensor proto whose content is larger than 2GB HOT 1
- Speed up the quantization of data HOT 1
- Alpha value seems to grow with epochs HOT 2
- Fix get_centroids and map_vects functions HOT 2
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 tensorflow-som.