HugoTini / DeepBump

Normal & height maps generation from single pictures
https://hugotini.github.io/deepbump
GNU General Public License v3.0
1.02k stars 36 forks source link

Traceback error when attempting to generate normal map #29

Open illieart opened 9 months ago

illieart commented 9 months ago

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 commented 9 months ago

Same issue here. Running Blender 3.5 as well.