for loop sending data generator to list vice accuracy data #6656
-
Below is the code, i am running a for loop to train on different training sizes. The first loop works correctly, where when training begins, the training and validation accuracy are sent to a list, then a frame then finally a csv. But on the subsequent loops, a data generator is sent to the list. Can anyone see where the issue is, because I cant find it. Also if you have a better way of doing this (data compiling for analysis), I'm all ears.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
What's the issue you are experiencing? |
Beta Was this translation helpful? Give feedback.
-
Figured it out, |
Beta Was this translation helpful? Give feedback.
-
@rusty1s I need clarification on one thing. If you take a look at my code, during each loop, I am training the same model correct? I need to declare a new model at the start of each loop to train a new model, right? |
Beta Was this translation helpful? Give feedback.
Figured it out,
test
was used twice, where after the first loop,test
was passed to the subsequent loops as a generator and not a graph.