Open
Description
Your model weights are inside the Cog Docker image. This makes it useful as an artifact for versioning and storing model weights.
One could imagine a feature of Cog that could get weights out, but a simple first step might be to document how model authors can do it with docker cp
.
For example, here is something I wrote to get the weights out of a model on Replicate:
#!/bin/bash
id=$(docker create r8.im/f90/wave-u-net-pytorch)
docker cp $id:/src/checkpoints ./