class_docstr: Test case of stress 
docstr: target: test embedding for stress scenario
  method: embedding for N times
  expected: return embeddings
docstr_tok: ["target",":","test","embedding","for","stress","scenario","method",":","embedding","for","N","times","expected",":","return","embeddings"]
code: def test_embedding_more_times(self, pipeline_model, embedding_size):
      """
      target: test embedding for stress scenario
      method: embedding for N times
      expected: return embeddings
      """
      emb_conf = AutoConfig.load_config(pipeline_name)
      emb_conf.model = pipeline_model
      emb_pipe = AutoPipes.pipeline(pipeline_name, emb_conf)
      nums = 1000
      for i in range(nums):
          try:
              embedding = (
                  emb_pipe(data_path + "towhee_test_image0.jpg")
                  .to_list()[0][0]
                  .tolist()
              )
              assert len(embedding) == embedding_size
          except Exception as e:
              print("Raise Exception: %s" % e)
          print("embedding images for %d round" % (i + 1))
      return True
  
imports: import sys
  import time
  import threading
  import numpy
  from towhee import AutoPipes, AutoConfig
  from common import common_func
label_desc: Use image node_id 1 for calling the TestImageEmbeddingStress obj's underlying member method code with example usage: obj.test_embedding_more_times(pipeline_model, embedding_size) and returns: True