Closed withtypes closed 4 years ago
Please check the sizes of the downloaded weight files. You'll get this error if the weight files are invalid. The files should have a size of exactly 4MB (4096kB), except for the last file (group1-shard23of23,bin), which should be a little smaller.
The problem stems from wget
not decompressing the downloaded files (the server delivers the files gzip-compressed). I don't know the correct switch for wget
, but this curl
command should do the trick:
curl -O --compressed https://storage.googleapis.com/tfjs-models/savedmodel/bodypix/resnet50/float/group1-shard[1-23]of23.bin
Ah, yes, you are correct! wget
messed up. It works now. Thank you
I'm trying to convert this bodypix model (resnet50, stride 32). It was already mentioned in #1 but this seems to be a different error:
I've downloaded the weights with
Versions used are