HugoTini / DeepBump

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

Bledner 3.5 error (generate normal map) #30

Open AlexNorth365 opened 1 year ago

AlexNorth365 commented 1 year ago

bpy.context.scene.deep_bump_tool.colortonormals_tiles_overlap_enum = 'SMALL' Python: --- Logging error --- Traceback (most recent call last): File "/Applications/Blender3.5.app/Contents/Resources/3.5/python/lib/python3.10/logging/handlers.py", line 74, in emit self.doRollover() File "/Applications/Blender3.5.app/Contents/Resources/3.5/python/lib/python3.10/logging/handlers.py", line 433, in doRollover if os.path.exists(dfn): File "/Applications/Blender3.5.app/Contents/Resources/3.5/python/lib/python3.10/genericpath.py", line 19, in exists os.stat(path) TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType Call stack: File "/Users/cdy/Library/Application Support/Blender/3.5/scripts/addons/AliceLG/init.py", line 78, in log_exhook LookingGlassAddonLogger.critical("An unhandled error occured. Here is the traceback:\n", exc_info=(exc_type, exc_value, exc_traceback)) Message: 'An unhandled error occured. Here is the traceback:\n' Arguments: () Traceback (most recent call last): File "/Users/cdy/Library/Application Support/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 "/Users/cdy/Library/Application Support/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 "/Users/cdy/Library/Application Support/Blender/3.5/scripts/addons/DeepBump-7/onnxruntime/capi/onnxruntime_inference_collection.py", line 432, in init raise e File "/Users/cdy/Library/Application Support/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 "/Users/cdy/Library/Application Support/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'], ...) Python: --- Logging error --- Traceback (most recent call last): File "/Applications/Blender3.5.app/Contents/Resources/3.5/python/lib/python3.10/logging/handlers.py", line 74, in emit self.doRollover() File "/Applications/Blender3.5.app/Contents/Resources/3.5/python/lib/python3.10/logging/handlers.py", line 433, in doRollover if os.path.exists(dfn): File "/Applications/Blender3.5.app/Contents/Resources/3.5/python/lib/python3.10/genericpath.py", line 19, in exists os.stat(path) TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType Call stack: File "/Users/cdy/Library/Application Support/Blender/3.5/scripts/addons/AliceLG/init.py", line 78, in log_exhook LookingGlassAddonLogger.critical("An unhandled error occured. Here is the traceback:\n", exc_info=(exc_type, exc_value, exc_traceback)) Message: 'An unhandled error occured. Here is the traceback:\n' Arguments: () Traceback (most recent call last): File "/Users/cdy/Library/Application Support/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 "/Users/cdy/Library/Application Support/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 "/Users/cdy/Library/Application Support/Blender/3.5/scripts/addons/DeepBump-7/onnxruntime/capi/onnxruntime_inference_collection.py", line 432, in init raise e File "/Users/cdy/Library/Application Support/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 "/Users/cdy/Library/Application Support/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'], ...)

MaxLastBreath commented 1 year ago

Getting the same error here