sugarme / gotch

Go binding for Pytorch C++ API (libtorch)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cant find Python script to save model to .npz

Sorry777 opened this issue · comments

Hi, in issue #50 you told "Convert Python model to numpy (.npz) then gotch provides ts.ReadNpz method to read .npz file. See example/convert-model." Than in https://github.com/sugarme/gotch/blob/master/example/convert-model/main.go
// NOTE. Python script to save model to .npz can be found at https://github.com/sugarme/pytorch-pretrained/bert/bert-base-uncased-to-npz.py
But https://github.com/sugarme/pytorch-pretrained/bert/bert-base-uncased-to-npz.py - page not found
Pls help me