Instructions to use HichTala/draw2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HichTala/draw2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="HichTala/draw2")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("HichTala/draw2") model = AutoModelForImageClassification.from_pretrained("HichTala/draw2") - Notebooks
- Google Colab
- Kaggle
Upload cardnames.json
Thank for the PR, but we still have some translation problems, for example:
"80181649": {
"EN": "\"A Case for K9\"",
"FR": "\"A Case for K9\"",
"DE": "\"A Case for K9\"",
"IT": "\"A Case for K9\"",
"PT": "\"A Case for K9\""
},
"98319530": {
"EN": "\"Infernoble Arms - Almace\"",
"FR": "\"Infernoble Arms - Almace\"",
"DE": "\"Infernoble Arms - Almace\"",
"IT": "\"Infernoble Arms - Almace\"",
"PT": "\"Infernoble Arms - Almace\""
},
"4731783": {
"EN": "A Bao A Qu, the Lightless Shadow",
"FR": "A Bao A Qu, the Lightless Shadow",
"DE": "A Bao A Qu, the Lightless Shadow",
"IT": "A Bao A Qu, the Lightless Shadow",
"PT": "A Bao A Qu, the Lightless Shadow"
},
Do you have any idea where that might be coming from? How do you get your translations?
After checking, it appears that the ygoprodeck database is not up to date for all languages; there isn't much else we can do at this point. I'm merging this
Yes, I'm using the ygoprodeck database to add the translations.
I'll stay tuned to any update of the api
I don't mind adding the missing translations by hand when I'll have time though :)
Thanks! I don't think you need to manually update the missing translations; that would be a very time-consuming, tedious, and likely unneeded task. The best way to get the missing translations is probably either to ask a website that has them to share them, or to scrap the data from that website. For example, cardcluster might have translations