wangkuiyi / gotorch

A Go idiomatic binding to the C++ core of PyTorch
MIT License
305 stars 35 forks source link

add label vocabulary builder #346

Closed QiJune closed 3 years ago

QiJune commented 3 years ago

Fix #345

Add a label vocabulary builder tool. Following is the usage:

$GOPATH/bin/labelbuilder -data=/work/train_shuffle_10k.tgz -label=/work/label.gob
codecov[bot] commented 3 years ago

Codecov Report

Merging #346 into develop will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #346   +/-   ##
========================================
  Coverage    87.26%   87.26%           
========================================
  Files           33       33           
  Lines         1445     1445           
========================================
  Hits          1261     1261           
  Misses         121      121           
  Partials        63       63