skytnt commited on
Commit
817c2b7
1 Parent(s): 23d2ee2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -140,7 +140,7 @@ batch_size = 8
140
  tagger_model_path = hf_hub_download(repo_id="skytnt/deepdanbooru_onnx", filename="deepdanbooru.onnx")
141
  tagger_model = [
142
  rt.InferenceSession(tagger_model_path, providers=['CUDAExecutionProvider'], provider_options=[{'device_id': i}]) for
143
- i in range(4)]
144
  tagger_model_meta = tagger_model[0].get_modelmeta().custom_metadata_map
145
  tagger_tags = eval(tagger_model_meta['tags'])
146
 
 
140
  tagger_model_path = hf_hub_download(repo_id="skytnt/deepdanbooru_onnx", filename="deepdanbooru.onnx")
141
  tagger_model = [
142
  rt.InferenceSession(tagger_model_path, providers=['CUDAExecutionProvider'], provider_options=[{'device_id': i}]) for
143
+ i in range(gpu_num)]
144
  tagger_model_meta = tagger_model[0].get_modelmeta().custom_metadata_map
145
  tagger_tags = eval(tagger_model_meta['tags'])
146