Hello, I am developing an extension to a 3D slicer and I have noticed that I have some heavy files in resources. Is there any guidance how to handle that? GitHub does not allow files above 50 megabytes and I think that unpacking files on every launch from Resourse folder is not a best option.
What you can do is upload the weights as a release asset on github, then download them at runtime (this way you can probe the user before downloading).
Have a look at how it’s done in the Dental Segmentator extension source code, where the weights are downloaded from the github release assets.
Storing model weights in GitHub releases is a very robust, elegant, flexible, and free solution. It allows you to store your source code and data at the same place, and you also get basic download statistics. What more elegant way would you have in mind?
Thang you for you reply Andras,
For me ideal way would be is that I would not need to add a custom method to dowload weights.
For my plugin I decreased network sizes therefore it is now allowable to upload to GitHub.