Open savasy opened 2 years ago
Hi, I met the same problem. And I solved it by replacing the number 5
with len(template_list)
in inference.py.
Hi @HuangZhenyang You changed every 5s? , what about 4s, they need to be X-1 ?
@savasy I changed every 5
to len(template_list)
in function def template_entity()
. I don't know if this change is right... Maybe we should wait for the author to reply.
@HuangZhenyang Aha awesome, it worked, thanks. Hi @Nealcly, Maybe you can change it accordingly or we can make a pull request
When I train the model with custom labels, the training code works well. However, Adapting Inference.py code to my custom trained model does not work.
I change the Inference.ipynb code to adapt my 11 labels as follows:
Here is loading checkpoint
Here is the inference and the error