Giter VIP home page Giter VIP logo

semanticsegmentation-libtorch's People

Contributors

navifra-kerry avatar shnhrtkyk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

semanticsegmentation-libtorch's Issues

batch inference

안녕하세요.

libtorch 기반 batch inference를 사용 하게 끔 토이 프로젝트를 진행 하고 있는데, 다수의 이미지를 batch로 추론 하는 게 생각보다 잘 안 되어 문의 글 남깁니다.

현재 모델은 mobilnet 이용하고 있으며, c++ 로 구현 하고 있습니다.

vector 변수에 cv::mat 이미지를 다수 넣어두고 torch::from_blob 의 첫 번째 인자에 vector 변수 즉, 다수의 이미지를 넣은 변수를 넣고 있어서 테스트를 하는 데 메모리 위치 에러라고 뜨고 있습니다..

혹시 해결 방법을 어떤 방향으로 잡아야 될까요???

No such serialized submodule: 'backbone'

I'm trying to run the demo without any success.

/SemanticSegmentation-Libtorch inference test.png resnet101_Python.pt

I got
Training on CPU.
std::exception

I have builded an small test using the result file from convert.py: resnet101_Python.pt :

SegmentationModel segnet;
segnet->deeplabv3_resnet101(false, 3);

torch::load(segnet, "resnet101_Python.pt");

As result I got:
terminate called after throwing an instance of 'c10::Error'
what(): No such serialized submodule: 'backbone'
Exception raised from read at ../torch/csrc/api/src/serialize/input-archive.cpp:91 (most recent call first):

Is this the correct way to do the test?

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.