tanluren / yolov3-channel-and-layer-pruning

yolov3 yolov4 channel and layer pruning, Knowledge Distillation 层剪枝,通道剪枝,知识蒸馏
Apache License 2.0
1.5k stars 446 forks source link

ValueError: Number of rows must be a positive integer, not 4.0 #182

Open liuxundd opened 2 years ago

Super-six-java commented 1 year ago

一样解决了嘛

Super-six-java commented 1 year ago

在报错的地方点一下,或出现(指定的错误代码),往上找xn 一个赋值语句,加上int强制转换,不知道精度会不会下降,但是能跑 ns = **int**(np.ceil(bs ** 0.5)) # number of subplots 之后会出现另一个问题

# First, search for an existing subplot with a matching spec. key = SubplotSpec._from_subplot_args(fig, args) print("key :"+str(key)) key要转换成str

Super-six-java commented 1 year ago

在报错的地方点一下,或出现(指定的错误代码),往上找xn 一个赋值语句,加上int强制转换,不知道精度会不会下降,但是能跑 ns = **int**(np.ceil(bs ** 0.5)) # number of subplots 之后会出现另一个问题

# First, search for an existing subplot with a matching spec. key = SubplotSpec._from_subplot_args(fig, args) print("key :"+str(key)) key要转换成str