[C++] torch scriptModule 실행 시 Unknown type name 'NoneType'
Local machine, 그리고 서버에서 잘 동작하는지 확인하고 온건데... 막상 이 모델을 실행시켜야하는 docker container 안에 들어오니 어떤 환경이 달라서인지 다음과 같은 에러가 떴다. 실행코드 #include #include int main(int args, char **argv){ std::string modelfile = argv[1]; torch::jit::scriptModule model_; model_ = torch::jit::load(modelfile); return 0; } 에러 메시지 terminate called after throwing an instance of 'torch::jit::ErrorReport' what(): Unknown type name 'NoneT..
이것저것 자료/C++
2021. 10. 6. 21:51
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 파이썬
- 최소신장트리
- n과m
- LGSVL
- 카카오
- 다익스트라
- notfound
- 프로그래머스
- dfs
- 코딩테스트
- tensorflow
- BFS
- 설치
- matplotlib
- 백트래킹
- CUDA
- 동적프로그래밍
- torchscript
- numpy
- 이것이코딩테스트다
- PIP
- docker
- torch
- version
- pytorch
- 설치하기
- shellscript
- 백준
- error
- Python
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함