Skip to content

Commit c97daf4

Browse files
author
Глеб Брыкин
authored
Update load_model.cs
1 parent f8b1950 commit c97daf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Implementation/src/torchvision/models/load_model.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ static models()
2424
{
2525
if(File.Exists(path + fname))
2626
{
27-
return (Dictionary<string, torch.Tensor>)torch.load(path);
27+
return (Dictionary<string, torch.Tensor>)torch.load(path + fname);
2828
}
2929
else
3030
{

0 commit comments

Comments
 (0)