-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Downloading TotalSpineSeg Model Weights and Offline Installation #97
Comments
Hi @tomDag25, Thank you for using TotalSpineSeg! To install the model weights offline:
With these files in place, TotalSpineSeg will recognize the zip files and install them without requiring an internet connection when you run the If you have further questions or need additional assistance, please don't hesitate to ask. Additionally, please note that TotalSpineSeg has been integrated into the Spinal Cord Toolbox, providing an alternative platform for utilization: https://spinalcordtoolbox.com/. |
Thanks it worked ! |
Okay sorry I spoke too fast it's not working. I can download the model using your link but there is an issue: The fact that it's not the good version of the model leads to problems with the folders name. In my case the code is expecting: If I manually remove the r20241115 I get another error when the model is trying to get the dataset.json since the name of the version changes. |
This is the error message I get when removing the r20241115
|
Strange, it should be working. We have to investigate this. |
Tried to change the name of the folder to the name of version it was expected aka nnUNetTrainer_16000epochs__nnUNetPlans__3d_fullres_small and the model is running but the labels don't seem to be the good one. If I put them in the folder r20241115 like you suggested it doesn't run. The model is not finding the weights. |
Hi @tomDag25, I'm sorry for the confusion earlier. There's a simpler way to handle the offline model weights installation. I've also updated the original post for clarity. To install the model weights offline:
With these files in place, TotalSpineSeg will recognize the zip files and install them without requiring an internet connection when you run the Regarding the labels, they remain unchanged from the ones specified in the README. The classes listed there match the This method has been tested and works as expected. Let me know if you need further assistance! |
Ok so it's not working and I still get the same error:
I think I know why. Basically I'm updating a code that used a former version of totalspineseg offline. The problem is that since it's in kaggle I can't directly upload the libraries I need to upload the wheels and do an offline pip install. The idea is that I didn't upgrade the wheels (only thing I didn't upload actually so the problem must come from that). |
That was it. The wheel for totalspineseg I installed was from a former version. This is something to be careful about when using totalspineseg offline with wheels. Thank you for your help @yw7 ! |
Hey, I was wondering how I could just download the weights of totalspineseg ? I want to use the model offline and I need to be able to access the model without internet access.
Thanks !
The text was updated successfully, but these errors were encountered: