Questions tagged [batching]
193 questions
0
votes
0 answers
Adding Batch Dimension to tensorflow graph which was trained without batching support
I trained the network without batching, hence the input dimension of graph is (H,W,C) (not even [1,H,W,C]).
But during inference, I need predictions for multiple images (batched inference).
How can we achieve this

ram
- 31
- 3
0
votes
1 answer
Batch PnP PowerShell command in a recursive function
Currently in the nightly version of PnP.PowerShell, we can batch multiple PnP requests(mentioned below).
$batch = New-PnPBatch
1..100 | ForEach-Object{ Add-PnPListItem -List "ItemTest" -Values @{"Title"="Test Item Batched $_"} -Batch $batch…

Joseph Jojo John
- 500
- 1
- 7
- 19
0
votes
0 answers
Firebase: Returning a Batch Write from a Transaction
I am having issues where firebase is not updating the stock values in my database correctly on some occasions. I am using FieldValue.increment() and it works most of the time, but doesn't update maybe 1% of the time for some reason, even though…

Bashir Egeh
- 23
- 4
0
votes
1 answer
gRPC - Accumulate requests from Multiple clients
Let's assume I have multiple clients sending requests to a server (gRPC service). I would like my server to be able to collect, let say 8 requests, process these requests at once, and then only send the result back to the clients. I'm not sure how…

Alex Ltr
- 1
- 1
0
votes
2 answers
Batching with useQuery react hooks getting back undefined
I am currently working on a project which requires me to make multiple queries/mutations. I tried setting up my apollo client with BatchHttpLink and I can see the data I am requesting in the network tab in the browser. It is coming back at an array…
0
votes
1 answer
Batching and padding using the Tensorflow data API
I'm having trouble understanding how the TensorFlow data API (tensorflow.data.Dataset) works. My
input is a list of lists of integers that I want to batch, pad
and concatenate. E.g my data looks like this
data = [[1, 2, 3, 4, 5, 6, 7],
[1,…

Björn Lindqvist
- 19,221
- 20
- 87
- 122
0
votes
1 answer
How to implement batching on a folder by folder basis
I have a script that uses the MTCNN face detection library that iterates through a fair amount of directories, totaling thousands of images. An issue that I've been running into with this script is the excessive memory usage when processing all of…

Matt Neis
- 11
- 1
- 3
0
votes
1 answer
How NHibernate implement the batching operation?
What is the solution of NHibernate for batching operations?

masoud ramezani
- 22,228
- 29
- 98
- 151
0
votes
0 answers
How to reduce drawcalls in unity?
I'm a beginner developer in Unity 3D and I'm working on a mobile game (Android). Everything works fine when I test my game on the editor (150 FPS) and on my latest phone (One plus 5, 60 FPS), but when I try it on my old phone (LG optimus G5 with…

Antoine Marcos
- 21
- 2
0
votes
1 answer
Is it possible to "batch" generate views in an ASP.NET MVC Web Application C#?
Basically, I have a C# MVC Web App, with Controllers that contain methods like this:
public ActionResult A (filters)
public ActionResult B (filters)
public ActionResult C (filters)
Each of these takes in filters, fills a list in the model using…

Random
- 1
- 2
0
votes
1 answer
Is there a function like Dataset.batch() but for tensors that all have different size?
I'm using the tf.data.Dataset.from_generator() function to create a datset for ASR with audio wav_file, length of audio wav_file, transcript and transcript_len. For the ML model I need audio wav_file and length to be zero padded and therefore I used…

Malena Reiners
- 3
- 1
0
votes
1 answer
Sensor batching in accelerometer
I am trying to implement batching of accelerometer sensor and store the x,y,z values in file.I need to store all the accelerometer values.Ex: Accelerometer values for 10min.
Scenario: The device screen is off, the accelerometer is registered as…

Rohit_04
- 21
- 4
0
votes
1 answer
How to implement batching in a google app-script to avoid execution timeouts
I found a solution on how to reduce the execution time here but I'm unable to implement it through batching as discussed here. [question]:Google app script timeout ~ 5 minutes?
Sorry, I am completely new to scripts. The script below loops through…
user9258693
0
votes
1 answer
Executing a LOGGED BATCH warning in Cassandra logs
Our Java Application doing a batch inserts on 1 of the table,
That table schema is something like..
CREATE TABLE "My_KeySpace"."my_table" (
key text,
column1 varint,
column2 bigint,
column3 text,
column4 boolean,
value blob,
…

Anil Kapoor
- 644
- 6
- 19
0
votes
1 answer
Timeout and Retry-Backoff mechanisms in msgraph-sdk-java
I have recently started using msgraph-sdk for java for creating a syncing service for oneDrive users, files etc.
I want to make few calls via batching like getting permissions info for multiple files.
Does the sdk support batched calls. If yes, can…

crucifix94
- 193
- 2
- 14