Changing batch_size after Pipeline initialization? #1610
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I know this is a very basic question, but I am not sure how I can change the
batch_size
- and parameters in general for pipelines and the models, which are used in the pipeline AFTER it is initialized! Is there a tutorial on this? I know how to load them from a.yaml
with:However I found it very hard to change parameters after this because
pipe.parameters()
only gets the current configuration. Also when I instantiate a pipeline I found this code in the tutorial:However is there any documentation where I can find a list of usable hyperparameters? Like a big dummy dictionary, which tells me how to set them? In the case above for example I do not know how to set the
batch_size
. Do I Have to add a new key "Pipeline" with this parameter nested in another dict? I also tried addingbatch_size_segmentation
as in theconfig.yaml
in the segmentation dict but it did not work.Any help would be appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions