narugo commited on
Commit
fea7247
1 Parent(s): 4f3f3ac

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -18,10 +18,9 @@ Models of experiment: https://github.com/deepghs/tagger_embedding_aligner
18
  import numpy as np
19
 
20
  from imgutils.tagging import get_wd14_tags, convert_wd14_emb_to_prediction, denormalize_wd14_emb
21
- from test.testings import get_testfile
22
 
23
  embedding, (r, g, c) = get_wd14_tags(
24
- get_testfile('nian.png'),
25
  fmt=('embedding', ('rating', 'general', 'character')),
26
  )
27
  # normal tag results
 
18
  import numpy as np
19
 
20
  from imgutils.tagging import get_wd14_tags, convert_wd14_emb_to_prediction, denormalize_wd14_emb
 
21
 
22
  embedding, (r, g, c) = get_wd14_tags(
23
+ '/my/image.png',
24
  fmt=('embedding', ('rating', 'general', 'character')),
25
  )
26
  # normal tag results