facebookresearch / segment-anything-2

The repository provides code for running inference with the Meta Segment Anything Model 2 (SAM 2), links for downloading the trained model checkpoints, and example notebooks that show how to use the model.
Apache License 2.0
10.71k stars 862 forks source link

generate constants.pkl #149

Open qinshifei opened 1 month ago

qinshifei commented 1 month ago

Can you generate the constants.pkl file of the pt model from the sam2_hiera.yaml file

qinshifei commented 3 weeks ago

The constants.pkl file is initialized with the parameters for the java djl framework