Questions tagged [batching]
193 questions
1
vote
1 answer
MSBUILD Batching (Looping) Over Files and String Replacing the FIleName(s)
I am trying to "loop" (batching) over a list of files, and string.replace the root directory name with a different directory name.
This project is using 3.5, thus cannot take full advantage of some new 4.0 features.
I am using the…

granadaCoder
- 26,328
- 10
- 113
- 146
1
vote
2 answers
Batching futures in Dart
I want to batch many futures into a single request that triggers either when a maximum batch size is reached, or a maximum time since the earliest future was received is reached.
Motivation
In flutter, I have many UI elements which need to display…

Jack Reilly
- 463
- 2
- 8
1
vote
1 answer
Bulk/Batch update using Spring Data JPA/Hibernate on Mysql
I am using Mysql, Spring Data JPA. In my use case, I have only 1 table e.g. Customer (ID, FIRST_NAME, LAST_NAME)
What I am trying to achieve is to update in a batch/bulk where update statements are a group as shown above in the example to reduce…

Dhruv
- 10,291
- 18
- 77
- 126
1
vote
0 answers
Batch Request in Https Post C#
I have written C# Job to read from IIS line by line and create the JSON and post the data to DB.The Job is reading 45K lines and inserts operations are very slow.
I enabled the parallel programming in job but still the performance was very slow.
It…

ayush choudhary
- 51
- 4
1
vote
0 answers
tensorflow serving - batching reshape error
I'm using inception_client.py to perform predictions with tensorflow serving and it works very well. But when I'm trying to batch the images on request and execute, tensorflow serving API raises this…

Wendel Hime
- 31
- 1
- 5
1
vote
1 answer
GPU out of memory when training convolutional neural network on Tensorflow
I'm using a convolutional neural network to train a set of ~9000 images (300x500) on a GTX1080 Ti using Tensorflow 1.9 but running into an issue of exceeding the memory every time. I get a warning about the system memory being exceeded by 10% and…

Cheshta Dhingra
- 11
- 2
1
vote
1 answer
Tensorflow dataset batching for complex data
I tried to follow the example in this link:
https://www.tensorflow.org/programmers_guide/datasets
but I am totally lost about how to run the session. I understand the first argument is the operations to run, and feed_dict is the placeholders (my…

Manal
- 13
- 3
1
vote
1 answer
Depth Buffer Clear Behavior between Draw Calls?
I have been testing WebGL to see whether I can batch-draw polygons in a particular way. I am going to simplify the use case, but it goes something along the lines of the following:
First, my vertices are simply:
vertices[v0_xy0, v1_xyz, ...…

synchronizer
- 1,955
- 1
- 14
- 37
1
vote
1 answer
Tensor Flow queue not closing. Problems with tf.train.start_queue_runners(sess)
While running a test CNN I'm always getting this error when trying to close the session with sess.close(), or requesting toe coordinator to stop and collect the threads. Apparently, the session is trying to close while there is still threads…

Tuco
- 116
- 9
1
vote
1 answer
Tensor flow continuous text sequence-to-sequence. Why batch?
I'm working through building a sequence-to-sequence shakespeare predictor and looking at sample code it seems to do batching in groups of 50 characters. I'm a little confused by this. If the text is continuous and you are processing in…

raeldor
- 503
- 3
- 11
1
vote
1 answer
Algorithms/hash functions to generate many to one mappings
I am looking for hash functions that can be used to generate batches out of integer stream. Specifically, I want to map integers xi from a set or stream (say X) to another set of integers or strings (say Y) such that many xi are mapped to one yj.…

aoak
- 983
- 1
- 11
- 20
1
vote
0 answers
Dynamic sprite batching
i have implemented a simple 2d renderer which works but not with textures or dynamic objects.
First to say is that i have 4 classes that i think are the most important ones. Renderer, Scene,Sprite, SpriteBatch.
To explain what i am doing i will…

greedsin
- 1,252
- 1
- 24
- 49
1
vote
0 answers
Tensorflow batching is very slow
I tried to setup a very simple Mnist example with an Estimator.
First I used the estimator's deprecated fit() parameters x, y and batch_size. This executed very fast and utilized about 100% of my GPU while not effecting the CPU much (about 10%…

andy
- 1,852
- 2
- 20
- 31
1
vote
1 answer
msbuild batching replace string
I am trying to alter a string in the batch. Replacing a string works great outside the scope of batching.
In my example I am trying to replace part of the directory.
user6840349
1
vote
1 answer
TensorFlow always converging to same output for all items after training
This is the piece of code that I am working with:
import tensorflow as tf
import numpy as np
from PIL import Image
from os import listdir
nodes_l1 = 500
nodes_l2 = 100
nodes_l3 = 500
num_batches = 20
num_epochs = 50
# Array of file…

em202020
- 59
- 1
- 8