DeepBump icon indicating copy to clipboard operation
DeepBump copied to clipboard

Traceback error when attempting to generate normal map

Open illieart opened this issue 1 year ago • 1 comments

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'], ...)

illieart avatar Sep 25 '23 22:09 illieart

Same issue here. Running Blender 3.5 as well.

studiorosarot avatar Sep 27 '23 15:09 studiorosarot