Code Monkey home page Code Monkey logo

anomalib-patchcore-libtorch's People

Contributors

nagatoyuki0943 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

deepspace98

anomalib-patchcore-libtorch's Issues

关于anomalib的torchscript导出

您好,您在anomalib中使用方法.md中写的
It is possible to export your model to ONNX or Torchscript or OpenVINO IR

If you want to export your PyTorch model to an OpenVINO model, ensure that export_mode is set to "openvino" in the respective model config.yaml.

导出openvino会先导出onnx, torchscript再导出openvino

导出onnx会一同导出torchscirpt-

我用fastflow测试,无论export_mode写openvino还是onnx,都无法导出torchscript,请问大概是哪儿的问题,拜谢!

您好,我在使用libtorch推理时,一直有一个错误

auto result = inference(model, x);推理的时候,这句一直报错.
vs显示下面这个
0x00007FFE05023B19 处(位于 TorchProject1.exe 中)引发的异常: Microsoft C++ 异常: c10::Error,位于内存位置 0x0000009E6F3FB080 处。
Debug Error!
Program: D:\Game\TorchProject1\x64\Debug\TorchProject1.exe abort() has been calle
程序显示在IListRef.h出现了断点,即下面这里
#if defined(_MSC_VER) && _ITERATOR_DEBUG_LEVEL == 2
// See [Note: MSVC Iterator Debug]
~IListRefIterator() {
switch (tag_) {
case IListRefTag::Boxed:
payload_.boxed_iterator.~boxed_iterator_type();
case IListRefTag::Unboxed:
payload_.unboxed_iterator.~unboxed_iterator_type();
default:
TORCH_INTERNAL_ASSERT(false, "invalid IListRef tag.");
}
您能帮我看看哪里有问题吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.