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
$ bandit --recursive --ini .bandit.ini bris
Test results:
>> Issue: [B614:pytorch_load_save] Use of unsafe PyTorch load or save
Severity: Medium Confidence: High
CWE: CWE-502 (https://cwe.mitre.org/data/definitions/502.html)
More Info: https://bandit.readthedocs.io/en/1.8.2/plugins/b614_pytorch_load_save.html
Location: bris/callbacks.py:103:12
102
103 torch.save(model, inference_checkpoint_filepath)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: