Genlk

Results 5 issues of Genlk

感谢您参与 X2Paddle 社区! 问题模版为了 X2Paddle 能更好的迭代,例如新功能发布、 RoadMaps 和错误跟踪. :smile_cat: ## 问题描述 卷积与反卷积都命名为self.conv0,导致后续加载出错。 - 错误信息 ![image](https://user-images.githubusercontent.com/24912927/191155145-9e5a65ec-2323-4e68-a6fd-338f70fb6eb5.png) 因为命名重复,导致算子的权重加载与算子的维度不一致,有报错 - 错误截图 ![image](https://user-images.githubusercontent.com/24912927/191154961-ee030b71-9227-488c-a013-9d36c89e133e.png) ## 具体信息 - 转换模型后用处 使用 Paddle-Lite 做移动端推理 - 模型来源 dispnet:https://github.com/Genlk/DISPNET_paddle 模型结构为:https://github.com/Genlk/DISPNET_paddle/blob/main/dispnet...

PyTorch

在shell里面调用x2paddle从onnx 生产paddle模型,报错 ,提示x2paddle_code.py当中的一个参数,没有定义 怎么手动给这个参数赋值? ![image](https://user-images.githubusercontent.com/24912927/185907247-45ee2d35-11cd-4fb1-a5e3-83287c21b949.png)

ONNX

def image_preprocess(img_path): img = cv2.imread(img_path).astype("float32")/255 # mean = [103.53, 116.28, 123.675] # Image net values # std = [57.375, 57.12, 58.395] mean = [113.533554, 118.14172, 123.63607] std = [21.405144, 21.405144,...

step by step when I run make all stop ,and have this message on terminal collect2: error: ld returned 1 exit status Makefile:625: recipe for target '.build_release/tools/finetune_net.bin' failed make: ***...