Distribution of a Slicer Extension with weights of neural networks

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.

Thank you in advance

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.