pytorch模型转CoreML的相关问题

宇文修筠
2023-12-01

1、prelu

''ValueError: Size of dimension 0 of alpha should be the same as the size of dimension -3 of x.''

2、expand_as

raise TypeError("cannot determine truth value of Relational")

3、upsample不支持多种输入大小

可以改用pixelshuffle代替实现上采样

 类似资料: