Comments (2)
I have a tar.gz containing a minimal example with 1000 molecules and batch size 51 at this folder
I expect that there should be 20 iterations when looping over the ExampleProvider with this setup, but there are some where it only is looped over 19 times, resulting in not every example being seen during that epoch
from libmolgrid.
1000/51 = 19.608. When the iteration gets to the end, there are only 31 examples, so it takes 20 from the beginning to complete the batch to produce 20 batches that iteration. The next iteration over the epoch has 980 examples to iterate over. 980/41 = 19.216. 40 examples are taken from the start to complete the last batch resulting in 960 examples remaining for the next iteration. 960/51 = 18.82. You will have one less batch this iteration. Etc.
This is all working as intended. You need to have a batch size the exactly divides the number of examples if you don't want to wrap around.
from libmolgrid.
Related Issues (20)
- libmolgrid issue HOT 4
- libmolgrid issues about stratifying receptors HOT 1
- Attempting compilation for unknown architectures HOT 1
- The ExampleProvider populate part is not working properly. HOT 7
- Is there a relationship between dataset structure and ExampleProvider HOT 5
- data_root error while defining ExampleProvider HOT 3
- libmolgrid install in python2 HOT 1
- Taking care of each region when creating a gninatype HOT 1
- .
- libmolgrid install error HOT 1
- example code in libmolgrid github HOT 4
- Issue when install libmolgrid from source HOT 9
- SystemError importing molgrid HOT 3
- General Question about AtomTyping HOT 2
- Simple example of multi-atom molecule to density to molecule HOT 4
- How can I visualize my voxel grid HOT 1
- Saving in-memory cache to disk HOT 8
- Specifying grid centers for all Examples in a batch HOT 2
- Conda forge package 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 libmolgrid.