File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 29
29
- pillow>=10.4.0
30
30
- pytest>=6.1.2
31
31
- scikit-image>=0.22.0
32
- - torch>=2.3
32
+ - torch>=2.6
33
33
- torchmetrics>=0.10
34
34
- torchvision>=0.18
35
35
exclude : (build|data|dist|logo|logs|output)/
Original file line number Diff line number Diff line change @@ -27,4 +27,4 @@ def matplotlib_backend() -> None:
27
27
28
28
@pytest .fixture (autouse = True )
29
29
def torch_hub (tmp_path : Path ) -> None :
30
- torch .hub .set_dir (tmp_path ) # type: ignore[no-untyped-call]
30
+ torch .hub .set_dir (tmp_path )
Original file line number Diff line number Diff line change 18
18
)
19
19
20
20
21
- def save_model (model : torch . nn . Module , path : Path ) -> None :
21
+ def save_model (model : CROMA , path : Path ) -> None :
22
22
state_dict = {
23
23
's1_encoder' : model .s1_encoder .state_dict (),
24
24
's1_GAP_FFN' : model .s1_GAP_FFN .state_dict (),
You can’t perform that action at this time.
0 commit comments