Request: DOI
#2
by oylz - opened
can show me the code for generate text from classification?looks like the following:
switch, electric switch, electrical switch: control consisting of a mechanical or electrical or electronic device for making or breaking or changing the connections in a circuit
whistle: acoustic device that forces air or steam against an edge or into a cavity and so produces a loud shrill sound
rubber eraser, rubber, pencil eraser: an eraser made of rubber (or of a synthetic material with properties similar to rubber); commonly mounted at one end of a pencil
@oylz from tables extracted from wordnet (basis of imagenet labels) using this code https://github.com/huggingface/pytorch-image-models/blob/main/timm/data/imagenet_info.py
https://github.com/huggingface/pytorch-image-models/blob/main/timm/data/_info/imagenet_synset_to_definition.txt
https://github.com/huggingface/pytorch-image-models/blob/main/timm/data/_info/imagenet_synset_to_lemma.txt
oylz changed discussion status to closed
thank you very much @rwightman
