Open TeresaTsang opened 4 months ago
Try pip install git+https://github.com/haoheliu/SemantiCodec-inference.git
and it will download the ckpt automatically.
@TeresaTsang Checkpoint will be automatically downloaded when you run the code. Thanks!
Tip for those whose computing server does not have a huggingface network connection: checkpoints can be manually downloaded here https://huggingface.co/haoheliu/SemantiCodec/tree/main
Tip for those whose computing server does not have a huggingface network connection: checkpoints can be manually downloaded here https://huggingface.co/haoheliu/SemantiCodec/tree/main
Could you tell me the exact location to put the checkpoints after download?
@wincing2 It is indeed a little bit tricky. You can refer to my location of saving:
Name this directory "pretrained", and you need to specify the loading path in the inference code like:
semanticodec = SemantiCodec(token_rate=token_rate, semantic_vocab_size=vocab_size,
checkpoint_path=f"pretrained/semanticodec_tokenrate_100")
Do you provide checkpoints?