Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback error when attempting to generate normal map #29

Open
illieart opened this issue Sep 25, 2023 · 1 comment
Open

Traceback error when attempting to generate normal map #29

illieart opened this issue Sep 25, 2023 · 1 comment

Comments

@illieart
Copy link

Python: Traceback (most recent call last):
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\DeepBump-7_init_.py", line 162, in execute
output_img = module_color_to_normals.apply(input_img, OVERLAP, self.progress_print)
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\DeepBump-7\module_color_to_normals.py", line 36, in apply
ort_session = ort.InferenceSession(addon_path + "/deepbump256.onnx")
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\DeepBump-7\onnxruntime\capi\onnxruntime_inference_collection.py", line 432, in init
raise e
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\DeepBump-7\onnxruntime\capi\onnxruntime_inference_collection.py", line 419, in init
self._create_inference_session(providers, provider_options, disabled_optimizers)
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\DeepBump-7\onnxruntime\capi\onnxruntime_inference_collection.py", line 451, in _create_inference_session
raise ValueError(
ValueError: This ORT build has ['AzureExecutionProvider', 'CPUExecutionProvider'] enabled. Since ORT 1.9, you are required to explicitly set the providers parameter when instantiating InferenceSession. For example, onnxruntime.InferenceSession(..., providers=['AzureExecutionProvider', 'CPUExecutionProvider'], ...)

@studiorosarot
Copy link

Same issue here. Running Blender 3.5 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants