感谢分享。但是按照这个教程安装出现了如下错误:
libMR/weibull.h:41:10: error: expected constructor, destructor, or type conversion before '(' token _declspec(dllexport) double weibull_pdf(double x, double scale, double shape);
In file included from libMR/MetaRecognition.cpp:47:0: libMR/MetaRecognition.h:57:17: error: expected initializer before 'MetaRecognition' class DLLEXPORT MetaRecognition //! Primary object/methods for tranforming and computing needed for any Meta recogntion task
ERROR: Command errored out with exit status 1: 'C:\ProgramData\Anaconda3\envs\TF2.6\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'E:\libmr-0.1.9\setup.py'"'"'; file='"'"'E:\libmr-0.1.9\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Administrator\AppData\Local\Temp\pip-record-bx3ofy1z\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\ProgramData\Anaconda3\envs\TF2.6\Include\libmr' Check the logs for full command output.
请问如何解决
Python-在Windows环境安装libMR最近在搞Openset代码,不过Github上的开集识别代码大部分都会用到EVT,然后需要安装libMR包。 libMR包在MAC上似乎现在可以直接pip安装,但是windo...