mcmingchang

Results 61 comments of mcmingchang

import torch from torch2trt import torch2trt from torchvision.models.alexnet import alexnet # create some regular pytorch model... model = alexnet(pretrained=False).eval().cuda() x = torch.ones((4, 3, 224, 224)).cuda() model_trt = torch2trt(model, [x], max_batch_size=4,...

感觉没什么变化

> 我遇到了同样的问题。FP32 在训练和推理期间都能正常工作。FP16 在训练期间工作正常,但在推理时会出现此错误。 use model.eval() and dont use fp16 dont use model.eval() and use fp16

You can retrain the ccpd dataset

https://github.com/mcmingchang/yolox_keypoint_segment/blob/main/exps/default/yolox_kp.py

I've fixed the code

you can use -d 1 -b 8,i will fix this bug today

-d 1 -b 8 num_worker =4 -d 2 -b 16 num_worker =4 -d 3 -b 24 num_worker =4 -d 4 -b 32 num_worker =2 I suspect that the thread is...