質問編集履歴
1
意味のない質問だったので消させていただきました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,99 +1,3 @@
|
|
1
|
-
|
1
|
+
意味のない質問だったので消させていただきました。
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
nvidiaが後悔している、fastphotostyle transferを実行したいのですが、エラーが出てしまいました。https://github.com/NVIDIA/FastPhotoStyle/blob/master/TUTORIAL.md
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
見てくださった方、ありがとうございました。
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
```
|
14
|
-
|
15
|
-
(base) C:\Users\tettu\Anaconda3\FastPhotoStyle-master>python demo.py --output_image_path results/example1.png
|
16
|
-
|
17
|
-
Resize image: (600,400)->(600,400)
|
18
|
-
|
19
|
-
Resize image: (600,400)->(600,400)
|
20
|
-
|
21
|
-
Elapsed time in stylization: 5.692563
|
22
|
-
|
23
|
-
Elapsed time in propagation: 89.564340
|
24
|
-
|
25
|
-
Elapsed time in post processing: 0.030918
|
26
|
-
|
27
|
-
Traceback (most recent call last):
|
28
|
-
|
29
|
-
File "demo.py", line 47, in <module>
|
30
|
-
|
31
|
-
no_post=args.no_post
|
32
|
-
|
33
|
-
File "C:\Users\tettu\Anaconda3\FastPhotoStyle-master\process_stylization.py", line 135, in stylization
|
34
|
-
|
35
|
-
out_img = smooth_filter(out_img, cont_pilimg, f_radius=15, f_edge=1e-1)
|
36
|
-
|
37
|
-
File "C:\Users\tettu\Anaconda3\FastPhotoStyle-master\smooth_filter.py", line 402, in smooth_filter
|
38
|
-
|
39
|
-
best_ = smooth_local_affine(output_, input_, 1e-7, 3, H, W, f_radius, f_edge)
|
40
|
-
|
41
|
-
File "C:\Users\tettu\Anaconda3\FastPhotoStyle-master\smooth_filter.py", line 335, in smooth_local_affine
|
42
|
-
|
43
|
-
program = Program(src, 'best_local_affine_kernel.cu')
|
44
|
-
|
45
|
-
File "C:\Users\tettu\Anaconda3\lib\site-packages\pynvrtc\compiler.py", line 49, in __init__
|
46
|
-
|
47
|
-
self._interface = NVRTCInterface(lib_name)
|
48
|
-
|
49
|
-
File "C:\Users\tettu\Anaconda3\lib\site-packages\pynvrtc\interface.py", line 87, in __init__
|
50
|
-
|
51
|
-
self._load_nvrtc_lib(lib_path)
|
52
|
-
|
53
|
-
File "C:\Users\tettu\Anaconda3\lib\site-packages\pynvrtc\interface.py", line 109, in _load_nvrtc_lib
|
54
|
-
|
55
|
-
self._lib = cdll.LoadLibrary(name)
|
56
|
-
|
57
|
-
File "C:\Users\tettu\Anaconda3\lib\ctypes\__init__.py", line 429, in LoadLibrary
|
58
|
-
|
59
|
-
return self._dlltype(name)
|
60
|
-
|
61
|
-
File "C:\Users\tettu\Anaconda3\lib\ctypes\__init__.py", line 351, in __init__
|
62
|
-
|
63
|
-
self._handle = _dlopen(self._name, mode)
|
64
|
-
|
65
|
-
OSError: [WinError 126] 指定されたモジュールが見つかりません。
|
66
|
-
|
67
|
-
```
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
### 該当のソースコード
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
```python
|
76
|
-
|
77
|
-
(base) C:\Users\tettu\Anaconda3\FastPhotoStyle-master>python demo.py --output_image_path results/example1.png
|
78
|
-
|
79
|
-
```
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
### 補足情報(FW/ツールのバージョンなど)
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
windows10
|
88
|
-
|
89
|
-
cuda9.0
|
90
|
-
|
91
|
-
gpu=GEFORCE940MX(初めは画像サイズが大きかったため、ran out of memory のエラーが出たので画像サイズを下げました。)
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
githubにあるdemo.pyにつかうという次のコード
|
96
|
-
|
97
|
-
sudo apt-get install -y axel imagemagick
|
98
|
-
|
99
|
-
これが、windowsでは使えず、インストールできていないことがエラーの原因かと考えているのですが、どうでしょうか?解答よろしくお願いします。
|