DB
DB copied to clipboard
A PyTorch implementation of "Real-time Scene Text Detection with Differentiable Binarization".
 ONNX export failed: Couldn't export Python operator ModulatedDeformConvFunction
Table 7 . CDAFT -> CRAFT
Defined at: detector/../detector/db/assets/ops/dcn/modules/deform_conv.py(128): forward /usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py(1090): _slow_forward /usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py(1102): _call_impl detector/../detector/db/backbones/resnet.py(159): forward /usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py(1090): _slow_forward /usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py(1102): _call_impl /usr/local/lib/python3.6/dist-packages/torch/nn/modules/container.py(141): forward /usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py(1090): _slow_forward /usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py(1102): _call_impl detector/../detector/db/backbones/resnet.py(241): forward /usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py(1090): _slow_forward /usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py(1102): _call_impl detector/dbnet-plus-onnx.py(522): forward /usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py(1090): _slow_forward...
Hi @MhLiao, I have been experimenting with the values of `Binary Threshold` and `Polygon Threshold`. In OpenCV Docs the following is mentioned. ``` Configurable parameters: - (float) binaryThreshold - The...
I encounter this error: "RuntimeError: Attempted to set the storage of a tensor on device "cuda:0" to a storage on different device "cpu". This is no longer allowed; the devices...
TypeError: forward() missing 1 required positional argument: 'data' 请问这个是什么问题呢
下面是编译的部分过程,最后的so文件成功生成了,为什么还是报错呢? ^ src/deform_pool_cuda_kernel.cu:342:60: warning: ??T* at::Tensor::data() const [with T = float]?? is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] /home/dong/miniconda3/envs/DB2/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:398:1: note: declared here T * data() const {...
大家可以分享一个docker嘛?

self.validate(validation_loaders, model, epoch, self.steps) B/trainer.py", line 153, in validate metrics, vis_images = self.validate_step(loader, model, False) DB/trainer.py", line 174, in validate_step batch, output) ValueError: not enough values to unpack (expected 2,...