Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 89300

Use for data science questions related to the programming language Python. Not intended for general coding questions (which should be asked on Stack Overflow).

1 vote

How to write a generator for keras fit_generator?

On my phone right now but you should set the batch size to a specific size. The generator will keep passing batches back. Let's say your batch size is 32 but your almost out of sample and only 20 are …
Robi Sen's user avatar
2 votes
Accepted

How to write a generator for keras fit_generator?

Ill supply two tutorials I used when I first started using fit_generator. That being said the first thing to remember is that a generator is essentially like any other function your write that returns …
Robi Sen's user avatar