Open temsa opened 6 years ago
Hi @temsa, Looks like linear activation function requires 2 parameters - alpha and beta and I do not provide them. As a temporary fix you can set a default value
act_param = [1.0, 0.0]
and add it to the yolo_to_coreml.py at line 100, here:
if activation == 'leaky':
act_fn = 'LEAKYRELU'
act_param = [0.1]
elif activation == 'linear':
act_param = [1.0, 0.0]
act_fn = 'LINEAR'
else:
It fixed that issue, but I encountered another after that. TBH I have changed my way to do this transform for now at least, using darkflow
: it required a bit of copy/pasting of python, but worked
Hi @inaiur, and thanks for creating this tool !
I'm having a fatal error when trying to convert my
tiny-YoLo
retrained on 1 class with a few hundred photos:Do you have an idea of what is wrong and how I can debug this error ?