RobustVideoMatting icon indicating copy to clipboard operation
RobustVideoMatting copied to clipboard

torchscript inference error

Open natxopedreira opened this issue 2 years ago • 1 comments

Hello

Im getting this extrange error when running inference in c++... i never saw this before so, maybe someone has a clue on whats happening??

Thanks

/tmp/llvm/lib/Support/BranchProbability.cpp:41: llvm::BranchProbability::BranchProbability(uint32_t, uint32_t): Assertion Numerator <= Denominator && "Probability cannot be bigger than 1!"' failed. `

natxopedreira avatar May 18 '22 08:05 natxopedreira

Hello

Im getting this extrange error when running inference in c++... i never saw this before so, maybe someone has a clue on whats happening??

Thanks

/tmp/llvm/lib/Support/BranchProbability.cpp:41: llvm::BranchProbability::BranchProbability(uint32_t, uint32_t): Assertion Numerator <= Denominator && "Probability cannot be bigger than 1!"' failed. `

Can you share the code for converting.pth model to.PT(.torchscript) model

zhanghongyong123456 avatar Aug 24 '22 08:08 zhanghongyong123456