blusssl

Results 6 comments of blusssl

@will-jl944 ,你好 > 使用的paddlex中提供的部署方法 --export_inference --model_dir=./output/deeplabv3p_r50vd/best_model/ --save_dir=./inference_model --fixed_input_shape=[224,224],导出的模型 > --fixed_input_shape指定为[256,256],模型使用的是PPYOLO

@will-jl944 > 1. 确定是PPYOLO而不是DeepLabV3+对吧? > 2. paddlepaddle的版本号是多少呢? 1、确定是PPYOLO,下面是错误信息 2022-02-17 11:15:49 [INFO] Model[PPYOLO] loaded. Found 33 inference images in total. ['D:\\gs\\wuzi\\tu\\test_png1\\1795.png', 'D:\\gs\\wuzi\\tu\\test_png1\\1807.png', 'D:\\gs\\wuzi\\tu\\test_png1\\1812.png', 'D:\\gs\\wuzi\\tu\\test_png1\\1805.png', 'D:\\gs\\wuzi\\tu\\test_png1\\1790.png', 'D:\\gs\\wuzi\\tu\\test_png1\\1806.png', 'D:\\gs\\wuzi\\tu\\test_png1\\1808.png', 'D:\\gs\\wuzi\\tu\\test_png1\\1798.png', 'D:\\gs\\wuzi\\tu\\test_png1\\1792.png', 'D:\\gs\\wuzi\\tu\\test_png1\\1814.png', 'D:\\gs\\wuzi\\tu\\test_png1\\1787.png',...

@will-jl944 不好意思,paddlepaddle的版本号是2.2.1

> > --fixed_input_shape=[224,224],导出的模型 > > --fixed_input_shape指定为[256,256],模型使用的是PPYOLO > > 我们分别使用[224,224]和[256,256]都没能复现出这个错误,可以提供一下你`"D:\paddlex_workspace\projects\P0012\T0064\output\best_model\inference_model"`文件夹下的`model.yml`文件的内容吗? Model: PPYOLO Transforms: - Resize: interp: CUBIC keep_ratio: false target_size: - 256 - 256 - Normalize: is_scale: true max_val: - 255.0...

> > --fixed_input_shape=[224,224],导出的模型 > > --fixed_input_shape指定为[256,256],模型使用的是PPYOLO > > 我们分别使用[224,224]和[256,256]都没能复现出这个错误,可以提供一下你`"D:\paddlex_workspace\projects\P0012\T0064\output\best_model\inference_model"`文件夹下的`model.yml`文件的内容吗? 这个所使用预测代码 import paddlex as pdx import os import glob def get_test_images(infer_dir): """ Get image path list in TEST mode """ #...

> 问题定位出来了,稍后我们会进行修复。 > > 在我们进行修复之前,你这边导出的时候指定图像尺寸改为`--fixed_input_shape=[-1,3,height,width]`(即明确指定输入batch size为-1),就可以绕过这个问题。 > > 感谢反馈。 可以运行了,期待你们的修复