wacdev
wacdev
您好,我安装了BasicSR之后还是一样的报错 出错信息如下 ``` /Users/z/.local/share/rtx/installs/python/3.11.2/lib/python3.11/site-packages/torchvision/transforms/functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be **removed in 0.17**. Please don't rely on it. You probably just need to use APIs...
我hack了一下basicsr的代码 print(MODEL_REGISTRY.keys()) 我发现只有以下的模型,是不是可以选其中某个? dict_keys(['SRModel', 'RealESRNetModel_basicsr', 'SRGANModel', 'HiFaceGANModel', 'VideoBaseModel', 'VideoRecurrentModel', 'ESRGANModel', 'VideoRecurrentGANModel', 'EDVRModel', 'RealESR GANModel_basicsr', 'VideoGANModel', 'StyleGAN2Model', 'SwinIRModel'])
我看了一下basicsr代码,当前代码和历史提交里面也没找到RealSRModel关键词,如上图
能给一个怎么使用onnx模型的演示代码吗? 直接用官方教程,会报错 ``` ❯ python tools/infer.py -c configs/rtdetr/rtdetr_r101vd_6x_coco.yml \ -o weights=/root/art/paddle/model/rtdetr_r101vd_6x_coco.pdparams \ --infer_img=/root/art/paddle/test/1.jpg [04/25 16:34:22] ppdet.utils.checkpoint INFO: Finish loading model weights: /root/art/paddle/model/rtdetr_r101vd_6x_coco.pdparams [04/25 16:34:22] ppdet.data.source.category WARNING: anno_file 'dataset/coco/annotations/instances_val2017.json' is None...