weiweijeff
weiweijeff
argument 1 has unexpected type 'float', that means it should be 'int' type. p.drawLine(int(self.prev_point.x()), 0, int(self.prev_point.x()), int(self.pixmap.height()))
有谁解决这个问题了吗?编写python程序使用了fastdepoly,如果不能使用pyinstaller打包,把程序换成C++又有很大工作量了。 --------------------------------------------------------- 我后来使用cx_Freeze打包了程序,cx_Freeze打包后是一个小exe程序带上lib文件夹,也能用。
我编译时也遇到。请到cmake文件夹修改cuda.cmake文件,把支持老显卡的算力代号 35删除.我的修改成这样了: ``` if(NOT WITH_GPU) return() endif() # This is to eliminate the CMP0104 warnings from cmake 3.18+. # Instead of setting CUDA_ARCHITECTURES, we will set CMAKE_CUDA_FLAGS. set(CMAKE_CUDA_ARCHITECTURES OFF) if(BUILD_ON_JETSON)...
read this https://github.com/digitalbrain79/darknet-nnpack/issues/17 Modify the NNPACK-darknet/build.ninja to add the -fPIC with cflags and cxxflags, then rerun the build process with "ninja -t clean; ninja" sudo rm /usr/liblibgoogletest-core.a sudo rm /usr/libnnpack-core.a...