头疼的报错
Nova_新星
希望你人生中的每一个选择,都是因为热爱。
展开
-
终于成了 彻底 解决ubuntu 下的 pycharm 无法输入中文问题
https://github.com/JetBrains/JetBrainsRuntime下载地址原创 2021-12-16 18:22:50 · 286 阅读 · 0 评论 -
解决报错 return _legacy_load(opened_file, map_loca result = unpickler.load() ModuleNotFoundError: No mo
报错File "app.py", line 10, in <module> model = inferences() File "/home/michael/Program/Github-chl/Flask_USCV/inference.py", line 15, in __init__ self.bsuvnet = torch.load(model_path) File "/home/michael/anaconda3/envs/pytorch1.8.1/lib/py原创 2021-10-29 16:23:03 · 1490 阅读 · 1 评论 -
成功解决!ubuntu pycharm : If you have modified ‘idea.config.path‘ or ‘idea.system.path‘ properties,
nvalid Config or System PathConfig and system paths seem to be equal.If you have modified 'idea.config.path' or 'idea.system.path' properties,please make sure they point to different directories, otherwise please re-install the IDE.ERROR: java.nio.fil原创 2021-10-27 18:04:54 · 995 阅读 · 1 评论 -
海康设备Linux C++ 同时调用 link 设备抓图 和 平台抓图 出现 so库 冲突问题!!target=_blank>libCsfTraceChain.so“ target=_blank>li
背景:由于项目需要 对 直连网络设备与安放api平台抓图 同时link了 两个SDK库 但是由于一些库存在 函数重名等一些其他的问题。网上资料几乎没有,我尝试了代码 加载 so库 不采用 cmake 加载 但是由于我调用的函数中 函数又依赖了其他库函数。我 麻了 …凉凉 , 之后求助了海康专家。很快的解决了。 接下来分享我的解决方法,帮助有和我一样问题的同学。 OK~报错 如下 也包括 重名与其他的一些错误 主要是这个:/usr/bin/ld: ../lib/linux/Release/libCsf原创 2021-09-27 11:33:55 · 403 阅读 · 0 评论 -
PaddleOCR 编译 预测库 找不到opencv 报错~Could not find a package configuration file provided by “OpenCV“ with
打开 CMakeLists.txt加一句 这个find_package("OpenCV")在哪加?find_package("OpenCV") 《-----if (WIN32) include_directories("${PADDLE_LIB}/paddle/include") link_directories("${PADDLE_LIB}/paddle/lib") find_package(OpenCV REQUIRED PATHS ${OPENCV_DIR}/build原创 2021-09-22 19:43:39 · 466 阅读 · 0 评论 -
Ubuntu Pyqt5 运行报错~loaded library “cv2/qt/plugins“ even though it was found. This application failed
被这玩意儿 搞得头大~~~~对应的py文件 添加如下 代码envpath = '/media/chen/软件/anaconda3/envs/paddleocr/lib/python3.7/site-packages/cv2/qt/plugins/platforms'os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = envpath即可然后将 python3.7/site-packages/PyQt5/Qt5/lib 这个路径下的 所有lib 文件 复制原创 2021-09-17 13:31:26 · 1433 阅读 · 2 评论 -
mysql: error while loading shared libraries: libtinfo.so.5: wrong ELF class: ELFCLASS32
或者 缺少 libtinfo.so.5执行:sudo apt-get install libncurses5原创 2021-09-14 16:02:17 · 9880 阅读 · 0 评论 -
成功解决 !./bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared
执行:apt-cache search libaiosudo apt-get install libaio1原创 2021-09-13 18:02:50 · 13519 阅读 · 2 评论 -
fatal: 无法访问 ‘https://github.com/******/‘:GnuTLS recv error (-110): The TLS connection was non-pr
运行如下命令:apt-get install gnutls-bingit config --global http.sslVerify falsegit config --global http.postBuffer 1048576000原创 2021-09-03 17:23:26 · 11401 阅读 · 14 评论 -
RuntimeError: invalid argument 5: k not in range for dimension at /opt/conda/conda-bld/pytorch_15956
报错解决:包含的目标类别 少于5类 因此无法返回 top5的 概率修改 将 topk=(1,5) 改为 (1,2) acc1, acc5, _ = model.get_accuracy(accuracy, output, target,topk=(1, 2)) 解决!!!原创 2021-09-03 09:38:42 · 853 阅读 · 0 评论