tianjiahao
tianjiahao
1.change the code in test.py: model = torch.nn.DataParallel(model,device_ids=cfg.GPUS).cuda() to model = torch.nn.DataParallel(model, device_ids=(0,)).cuda()
@huitang I have the same problem as you ,have you solved it?
请问问题解决了没有,也遇到相似的问题。 paddle训练的模型直接进行量化操作(onnx_format=True, dtype=int64),得到量化模型后,进行推理时报错: RuntimeError: (NotFound) Operator (quantize_linear) does not have kernel for {data_type[int64_t]; data_layout[Undefined(AnyLayout)]; place[Place(gpu:0)]; library_type[PLAIN]}. [Hint: Expected kernel_iter != kernels.end(), but received kernel_iter == kernels.end().] (at ..\paddle\fluid\framework\operator.cc:1712) [operator <...
have the same problem: [Paddle2ONNX] Start to parse PaddlePaddle model... [Paddle2ONNX] Model file path: inference_model/model.pdmodel [Paddle2ONNX] Paramters file path: inference_model/model.pdiparams [Paddle2ONNX] Start to parsing Paddle model... [Paddle2ONNX] Oops, there are...
> have the same problem: [Paddle2ONNX] Start to parse PaddlePaddle model... [Paddle2ONNX] Model file path: inference_model/model.pdmodel [Paddle2ONNX] Paramters file path: inference_model/model.pdiparams [Paddle2ONNX] Start to parsing Paddle model... [Paddle2ONNX] Oops, there...
I get result in demo_fundamental.py, kpts1, kpts2:
![Uploading Snipaste_2024-07-17_17-55-51.png…]()
> > I get result in demo_fundamental.py, kpts1, kpts2: > > hello! Your image seems to be damaged, can you upload it again? Also, are the results you get referring...
@QwertyJack I also had the same problem. Is this bug fixed? my faiss-cpu=1.7.1.post2, I update faiss-cpu==1.8.0,but it dosen‘t work