pointnet.pytorch icon indicating copy to clipboard operation
pointnet.pytorch copied to clipboard

FileNotFoundError: Could not find module 'E:\gitstore\pointnet.pytorch-master\utils\render_balls_so.dll' (or one of its dependencies). Try using the full path with constructor syntax.

Open liuzhihaozhengshuai opened this issue 11 months ago • 2 comments

PS E:\gitstore\pointnet.pytorch-master\utils> python show_seg.py --model seg/seg_model_Chair_4.pth --dataset=E:\gitstore\pointnet.pytorch-master\shapenetcore_partanno_segmentation_benchmark_v0 --class_choice Earphone --idx 1 Traceback (most recent call last): File "E:\gitstore\pointnet.pytorch-master\utils\show_seg.py", line 2, in from show3d_balls import showpoints File "E:\gitstore\pointnet.pytorch-master\utils\show3d_balls.py", line 23, in dll=np.ctypeslib.load_library(r'E:\gitstore\pointnet.pytorch-master\utils\render_balls_so.dll','.') File "D:\anaconda\lib\site-packages\numpy\ctypeslib.py", line 158, in load_library return ctypes.cdll[libpath] File "D:\anaconda\lib\ctypes_init_.py", line 449, in getitem return getattr(self, name) File "D:\anaconda\lib\ctypes_init_.py", line 444, in getattr dll = self.dlltype(name) File "D:\anaconda\lib\ctypes_init.py", line 374, in init self._handle = _dlopen(self._name, mode) FileNotFoundError: Could not find module 'E:\gitstore\pointnet.pytorch-master\utils\render_balls_so.dll' (or one of its dependencies). Try using the full path with constructor syntax.

but the file render_balls_so.dll already existence and located in the correct path

liuzhihaozhengshuai avatar Jul 16 '23 07:07 liuzhihaozhengshuai

I have resolved this issue, which is caused by the missing DLL file, file render_ Balls_ So.dll requires four DLL files, kernel32.dll and libgcc_ S_ Seh-1.dll, libstdc++-6.dll, msvcrt.dll, from the website https://cn.dll-files.com/ You can download them, and after downloading, place these DLL files in render_ Balls_ The folder where the so.dll file is located (the "utils" folder) can solve the above problem

liuzhihaozhengshuai avatar Jul 17 '23 02:07 liuzhihaozhengshuai

我已经解决了这个问题,这是因为缺少dll文件导致的,文件render_balls_so.dll需要四个dll文件,kernel32.dll,libgcc_s_seh-1.dll,libstdc++-6.dll,msvcrt.dll,从网站https://cn.dll-files.com/可以下载他们,下载好后,将这些dll文件放在render_balls_so.dll文件所在的文件夹("utils"文件夹)就能解决上述问题了

liuzhihaozhengshuai avatar Jul 17 '23 02:07 liuzhihaozhengshuai