recognize-anything
recognize-anything copied to clipboard
How to get 'ram_plus_tag_embedding_class_4585_des_51.pth' file in ram_plus.py, line 143?
Hi, I update the 'ram_plus_tag_embedding_class_4585_des_51.pth' file in https://huggingface.co/xinyu1205/recognize-anything-plus-model/blob/main/ram_plus_tag_embedding_class_4585_des_51.pth. And I add the explanations in README.md#468. Thank you for your valuable feedback.
Hello, may I ask how you generated this file “ram_plus_tag_embedding_class_4585_des_51.pth”. Now I want to add 10 new tags to the 4585 tags in the network. Directly modifying the parameter "number of tags" does not work. I need to regenerate the file.
Hello, may I ask how you generated this file “ram_plus_tag_embedding_class_4585_des_51.pth”. Now I want to add 10 new tags to the 4585 tags in the network. Directly modifying the parameter "number of tags" does not work. I need to regenerate the file.
Sorry for not seeing your issue. You can running the file generate_tag_des_llm.py to generate label embedding for your own categories, more details can refer to RAM++ unseen categories inference.