Add the word2vec of new category in word2vec file word_w2v_withbg_48_17.txt or word_w2v_withbg_65_15.txt. You can add it in the last column of the raw word2vec, and the results of the last class should be your target results.
Modify the code about the number of classes since my ugly handcraft code, you can refer this issue
Hello, the author. I want to know how to modify the code if I want to detect a new type of object (not belonging to 80 categories in COCO dataset)