Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def load_bin(model_name,file_name):
|
|
| 20 |
print(dir(r))
|
| 21 |
torch.set_printoptions(profile="full")
|
| 22 |
#result=torch.frombuffer(r.content,dtype=torch.get_default_dtype(),offset=1)
|
| 23 |
-
result=torch.frombuffer(r.content,dtype=torch.float32,offset=
|
| 24 |
print(dir(result))
|
| 25 |
return result
|
| 26 |
|
|
|
|
| 20 |
print(dir(r))
|
| 21 |
torch.set_printoptions(profile="full")
|
| 22 |
#result=torch.frombuffer(r.content,dtype=torch.get_default_dtype(),offset=1)
|
| 23 |
+
result=torch.frombuffer(r.content,dtype=torch.float32,offset=27)
|
| 24 |
print(dir(result))
|
| 25 |
return result
|
| 26 |
|