Cm xdg

Results 23 issues of Cm xdg

如题,lapstyle_model.py文件中,在LapStyleRevFirstModel类里面,这里设置enc网络参数不更新,设置了两次,是不是第二句要改成dec网络不更新,也就是在训练revsionnet时,整个draftnet参数不更新? ![image](https://user-images.githubusercontent.com/16351823/147623604-e08dc9c8-9a24-407f-958d-b09e1717cf02.png)

训练好的lapStyle模型用export_model.py导出,我使用的命令是: python tools/export_model.py --config-file configs/lapstyle_rev_second.yaml --load weights/lapstyle/lapstyle_starrynew.pdparams --inputs_size 1,3,-1,-1;1,3,-1,-1;1,3,-1,-1;1,6,-1,-1;1,6,-1,-1 配置文件的export_model如下: ![image](https://user-images.githubusercontent.com/16351823/146896093-47834058-a6a4-4144-96ca-e0f816d5c3d7.png) 每个模型以及对应的input_size如下: net_enc 1,3,-1,-1; net_dec 1,3,-1,-1;1,3,-1,-1; net_rev 1,6,-1,-1; net_rev2 1,6,-1,-1; 在运行export_model.py时,出现了下面的错误: ![image](https://user-images.githubusercontent.com/16351823/146896472-a96a58e0-851b-4425-b32f-9ef40602882f.png) 错误出现在net_dec的forword中 ![image](https://user-images.githubusercontent.com/16351823/146896770-e7eb3f18-898d-42f7-9a82-fe56e8a86278.png) net_dec的AdaIN层必须输入多个层的特征图来参与计算,所以这里输入的是字典类型的数据,而我们定义的只是2个3通道的图片,所以这里会有问题,请问,这个问题应该怎么处理呢?paddleGAN有提供lapstyle导出的例子吗?

成功使用export_model.py将pix2pix_cityspace模型转成静态图后,调用inference.py做推理报下面的错误: NotFoundError: The argument ReserveSpace of batch_norm op is not found. 请问这是什么原因呢

项目:Pix2Pix_cityscapes 在export_model.py文件导出静态图模型时,出现了这个错误: ![image](https://user-images.githubusercontent.com/16351823/144560749-6d138408-5107-4db5-8c71-249258fe3e10.png) 查看了下,Pix2PixModel的父类BaseModel中有这个export_model的方法,不清楚为什么会报这个错误,烦请解答下

- 系统环境/System Environment:win10 x64 - 版本号/Version:Paddle:paddlepaddle-gpu 2.2.1.post112 PaddleOCR:release/2.5 - 运行指令/Command Code:.\build3\Release\ppocr.exe system --use_gpu=false --rec_batch_num=16 --det_model_dir=E:\workspace\AI\Detection\PaddleOCR\weights\ch_PP-OCRv2_det_slim_quant_infer --rec_model_dir=E:\workspace\AI\Detection\PaddleOCR\weights\ch_PP-OCRv2_rec_slim_quant_infer --image_dir=F:\Datasets\securety\save\net\ 测试了同一张图片,对比c++和python的推理耗时,如下图所示,耗时巨大,请问这种耗时正常吗? ![image](https://user-images.githubusercontent.com/16351823/180914820-a048207c-12d8-41c8-82be-beca30c73e89.png) 附原图: ![screenshot_51_(156,25,1596,975)](https://user-images.githubusercontent.com/16351823/180915133-d4e862c2-1e69-498e-a804-6429e8115f26.png)

请问是否需要将图片和标注按照视频序列从前到后顺序送入网络学习?如果shuffle一下,对reid分支的训练有影响吗?

hello,my training loss becomes negative suddenly,can you tell me how can I fix it ,thank you very much! ![image](https://user-images.githubusercontent.com/16351823/82198471-f2d7dd80-992e-11ea-9122-326f945fd8e2.png)

Hi, I wonder that would you be willing to share your training log file? Thank you!

模型来源: pytorch 模型说明: GAN生成模型 模型文件: 链接:链接:https://pan.baidu.com/s/1Lc6PupwZ1fXtu8w06LHpxg 提取码:xiln pytorch转onnx可以,但是onnx转到paddle出错,转换过程出错提示如下: ``` paddle.__version__ = 2.0.2 Now translating model from onnx to paddle. model ir_version: 6, op version: 9 shape inferencing ... shape inferenced....

模型来源: pytorch 模型说明: GAN生成模型 模型文件: 链接:链接:https://pan.baidu.com/s/1Lc6PupwZ1fXtu8w06LHpxg 提取码:xiln 直接从pytorch2paddle转换过程出错提示如下: ``` --- load model --- graph(%input.1 : Float(1, 3, 320, 320, strides=[307200, 102400, 320, 1], requires_grad=0, device=cuda:0), %encoder.1.weight : Float(32, 3, 9,...

PyTorch