好像有时候百度不出来,提示生成图片中就没有后续了
夏目喵zz 发布的最新帖子
-
RE: ObjectDetection - 基于yolov5的目标检测
@XiaoMo 在 ObjectDetection - 基于yolov5的目标检测 中说:
DirectX
那是什么。。。 -
RE: ObjectDetection - 基于yolov5的目标检测
@xtaw 2022-04-13 22:59:27 W/stderr: ai.djl.engine.EngineException: Failed to load PyTo
rch native library
2022-04-13 22:59:27 W/stderr: at ai.djl.pytorch.engine.PtEngine.newInstance(Pt
Engine.java:77)
2022-04-13 22:59:27 W/stderr: at ai.djl.pytorch.engine.PtEngineProvider.getEng
ine(PtEngineProvider.java:40)
2022-04-13 22:59:27 W/stderr: at ai.djl.engine.Engine.getEngine(Engine.java:17
7)
2022-04-13 22:59:27 W/stderr: at ai.djl.Model.newInstance(Model.java:98)
2022-04-13 22:59:27 W/stderr: at ai.djl.repository.zoo.BaseModelLoader.createM
odel(BaseModelLoader.java:187)
2022-04-13 22:59:27 W/stderr: at ai.djl.repository.zoo.BaseModelLoader.loadMod
el(BaseModelLoader.java:149)
2022-04-13 22:59:27 W/stderr: at ai.djl.repository.zoo.Criteria.loadModel(Crit
eria.java:166)
2022-04-13 22:59:27 W/stderr: at ai.djl.repository.zoo.ModelZoo.loadModel(Mode
lZoo.java:132)
2022-04-13 22:59:27 W/stderr: at xtaw.objectdetectionbot.util.YoloV5Util.detec
t(YoloV5Util.java:56)
2022-04-13 22:59:27 W/stderr: at xtaw.objectdetectionbot.main.MainPlugin.lambd
a$registerEvents$1(MainPlugin.java:78)
2022-04-13 22:59:27 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeA
lways$2$1.invoke(EventChannel.kt:574)
2022-04-13 22:59:27 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeA
lways$2$1.invoke(EventChannel.kt:574)
2022-04-13 22:59:27 W/stderr: at kotlinx.coroutines.InterruptibleKt.runInterru
ptibleInExpectedContext(Interruptible.kt:46)
2022-04-13 22:59:27 W/stderr: at kotlinx.coroutines.InterruptibleKt.access$run
InterruptibleInExpectedContext(Interruptible.kt:1)
2022-04-13 22:59:27 W/stderr: at kotlinx.coroutines.InterruptibleKt$runInterru
ptible$2.invokeSuspend(Interruptible.kt:38)
2022-04-13 22:59:27 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuati
onImpl.resumeWith(ContinuationImpl.kt:33)
2022-04-13 22:59:27 W/stderr: at kotlinx.coroutines.DispatchedTask.run(Dispatc
hedTask.kt:106)
2022-04-13 22:59:27 W/stderr: at kotlinx.coroutines.internal.LimitedDispatcher
.run(LimitedDispatcher.kt:39)
2022-04-13 22:59:27 W/stderr: at kotlinx.coroutines.scheduling.TaskImpl.run(Ta
sks.kt:95)
2022-04-13 22:59:27 W/stderr: at kotlinx.coroutines.scheduling.CoroutineSchedu
ler.runSafely(CoroutineScheduler.kt:571)
2022-04-13 22:59:27 W/stderr: at kotlinx.coroutines.scheduling.CoroutineSchedu
ler$Worker.executeTask(CoroutineScheduler.kt:750)
2022-04-13 22:59:27 W/stderr: at kotlinx.coroutines.scheduling.CoroutineSchedu
ler$Worker.runWorker(CoroutineScheduler.kt:678)
2022-04-13 22:59:27 W/stderr: at kotlinx.coroutines.scheduling.CoroutineSchedu
ler$Worker.run(CoroutineScheduler.kt:665)
2022-04-13 22:59:27 W/stderr: Caused by: java.lang.UnsatisfiedLinkError: C:\User
s\Administrator.djl.ai\pytorch\1.9.1-cpu-win-x86_64\asmjit.dll: Can't find depe
ndent libraries
2022-04-13 22:59:27 W/stderr: at java.base/java.lang.ClassLoader$NativeLibrary
.load0(Native Method)
2022-04-13 22:59:27 W/stderr: at java.base/java.lang.ClassLoader$NativeLibrary
.load(ClassLoader.java:2430)
2022-04-13 22:59:27 W/stderr: at java.base/java.lang.ClassLoader$NativeLibrary
.loadLibrary(ClassLoader.java:2487)
2022-04-13 22:59:27 W/stderr: at java.base/java.lang.ClassLoader.loadLibrary0(
ClassLoader.java:2684)
2022-04-13 22:59:27 W/stderr: at java.base/java.lang.ClassLoader.loadLibrary(C
lassLoader.java:2617)
2022-04-13 22:59:27 W/stderr: at java.base/java.lang.Runtime.load0(Runtime.jav
a:765)
2022-04-13 22:59:27 W/stderr: at java.base/java.lang.System.load(System.java:1
835)
2022-04-13 22:59:27 W/stderr: at ai.djl.pytorch.jni.LibUtils.loadNativeLibrary
(LibUtils.java:328)
2022-04-13 22:59:27 W/stderr: at java.base/java.util.stream.ForEachOps$ForEach
Op$OfRef.accept(ForEachOps.java:183)
2022-04-13 22:59:27 W/stderr: at java.base/java.util.stream.ReferencePipeline$
3$1.accept(ReferencePipeline.java:195)
2022-04-13 22:59:27 W/stderr: at java.base/java.util.stream.ReferencePipeline$
2$1.accept(ReferencePipeline.java:177)
2022-04-13 22:59:27 W/stderr: at java.base/java.util.stream.ReferencePipeline$
3$1.accept(ReferencePipeline.java:195)
2022-04-13 22:59:27 W/stderr: at java.base/java.util.Iterator.forEachRemaining
(Iterator.java:133)
2022-04-13 22:59:27 W/stderr: at java.base/java.util.Spliterators$IteratorSpli
terator.forEachRemaining(Spliterators.java:1801)
2022-04-13 22:59:27 W/stderr: at java.base/java.util.stream.AbstractPipeline.c
opyInto(AbstractPipeline.java:484)
2022-04-13 22:59:27 W/stderr: at java.base/java.util.stream.AbstractPipeline.w
rapAndCopyInto(AbstractPipeline.java:474)
2022-04-13 22:59:27 W/stderr: at java.base/java.util.stream.ForEachOps$ForEach
Op.evaluateSequential(ForEachOps.java:150)
2022-04-13 22:59:27 W/stderr: at java.base/java.util.stream.ForEachOps$ForEach
Op$OfRef.evaluateSequential(ForEachOps.java:173)
2022-04-13 22:59:27 W/stderr: at java.base/java.util.stream.AbstractPipeline.e
valuate(AbstractPipeline.java:234)
2022-04-13 22:59:27 W/stderr: at java.base/java.util.stream.ReferencePipeline.
forEach(ReferencePipeline.java:497)
2022-04-13 22:59:27 W/stderr: at ai.djl.pytorch.jni.LibUtils.loadLibTorch(LibU
tils.java:128)
2022-04-13 22:59:27 W/stderr: at ai.djl.pytorch.jni.LibUtils.loadLibrary(LibUt
ils.java:72)
2022-04-13 22:59:27 W/stderr: at ai.djl.pytorch.engine.PtEngine.newInstance(Pt
Engine.java:50)
2022-04-13 22:59:27 W/stderr: ... 22 more
2022-04-13 22:59:27 E/ObjectDetection: Unable to run yolov5. Check if "model.tor
chscript" and "coco.names" exist and are valid.