[FishBotCamera]3.结合YOLO实现检测
-
@jkr yolo安装问题吧,重装试试
-
@小鱼 重装了一边不太行
-
@小鱼 (1) In PyTorch 2.6, we changed the default value of the
weights_only
argument intorch.load
fromFalse
toTrue
. Re-runningtorch.load
withweights_only
set toFalse
will likely succeed, but it can result in arbitrary code execution. Do it only if you got the file from a trusted source.
(2) Alternatively, to load withweights_only=True
please check the recommended steps in the following error message.
WeightsUnpickler error: Unsupported global: GLOBAL numpy.core.multiarray._reconstruct was not an allowed global by default. Please usetorch.serialization.add_safe_globals([numpy.core.multiarray._reconstruct])
or thetorch.serialization.safe_globals([numpy.core.multiarray._reconstruct])
context manager to allowlist this global if you trust this class/function.
重运行完报这个错 -
要怎么调节阈值啊@小鱼
-
-
-
@小鱼
这个包一直下载失败,怎么解决
-
@2648226346 环境变量设置了吗
-
@luqixuan 我是按照网页一步步来的
-
@2648226346 环境变量具体是哪一步?