You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm trying to integrated my python code to docker ,and queer things occured when i predicting using docker command,
this is the details
`C:\Windows\System32>docker run --name seg --rm --gpus=all -v D:\rs:/input -v D:\output:/output -it segment --input /input/ct2.nii.gz --output /output
TotalSegmentator sends anonymous usage statistics. If you want to disable it check the documentation.
Resampling...
Resampled in 2.51s
Predicting part 1 of 5 ...
/usr/local/lib/python3.9/site-packages/nnunetv2/inference/predict_from_raw_data.py:84: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
checkpoint = torch.load(join(model_training_output_dir, f'fold_{f}', checkpoint_name),
100%|███████████████████████████████████████████████████████████████████████████████████| 12/12 [00:02<00:00, 4.78it/s]
C:\Windows\System32>`
it looks like the model only predicted 1/5 and stopped, i can use cuda . the memeory of cpu and gpu is absolutely enough ,i just dont know what happpened, no errors or warnings finally.
The text was updated successfully, but these errors were encountered:
i'm trying to integrated my python code to docker ,and queer things occured when i predicting using docker command,
this is the details
`C:\Windows\System32>docker run --name seg --rm --gpus=all -v D:\rs:/input -v D:\output:/output -it segment --input /input/ct2.nii.gz --output /output
If you use this tool please cite: https://pubs.rsna.org/doi/10.1148/ryai.230024
TotalSegmentator sends anonymous usage statistics. If you want to disable it check the documentation.
Resampling...
Resampled in 2.51s
Predicting part 1 of 5 ...
/usr/local/lib/python3.9/site-packages/nnunetv2/inference/predict_from_raw_data.py:84: FutureWarning: You are using
torch.load
withweights_only=False
(the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value forweights_only
will be flipped toTrue
. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user viatorch.serialization.add_safe_globals
. We recommend you start settingweights_only=True
for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.checkpoint = torch.load(join(model_training_output_dir, f'fold_{f}', checkpoint_name),
100%|███████████████████████████████████████████████████████████████████████████████████| 12/12 [00:02<00:00, 4.78it/s]
C:\Windows\System32>`
it looks like the model only predicted 1/5 and stopped, i can use cuda . the memeory of cpu and gpu is absolutely enough ,i just dont know what happpened, no errors or warnings finally.
The text was updated successfully, but these errors were encountered: