回答編集履歴
2
shijian
answer
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Hi, today
|
1
|
+
Hi, today, I take the same problem, now, I handle it.
|
2
2
|
|
3
3
|
It's very easy!
|
4
4
|
|
1
fghj
answer
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
Hi, today (2020.08.13),
|
1
|
+
Hi, today (2020.08.13), I take the same problem, now, I handle it.
|
2
2
|
|
3
3
|
It's very easy!
|
4
4
|
|
5
|
-
You should update your torch to new stable version (1.6.0)in your local (mac) and add a parameter in your code (let model run on your 'cpu') like this:
|
5
|
+
You should update your torch to new stable version (1.6.0) in your local (mac) and add a parameter in your code (let model run on your 'cpu') like this:
|
6
6
|
|
7
7
|
```
|
8
8
|
torch.load('/Users/***/****/model.pt',map_location=torch.device('cpu'))
|
9
9
|
```
|
10
|
-
then, it
|
10
|
+
then, it works!
|