Making the model
#1
by
GeorgeBatch
- opened
Hi,
@jamesdolezal
! Thank you for adding the model here! Is there a simple way now to make the model using timm
+ HuggingFace
? Or did you only add the weights here?
The easiest way to build the model would be to use Slideflow (https://github.com/jamesdolezal/slideflow). Examples are provided in the docs (https://slideflow.dev/mil/#pretrained-feature-extractor), but in short:
Install Slideflowpip install slideflow[torch]
Build the CTransPath model.
import slideflow as sf
ctranspath = sf.build_feature_extractor('ctranspath')
Thank you very much! @jamesdolezal
GeorgeBatch
changed discussion status to
closed