Update README.md
Browse files
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(
|
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 |
|