Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running neuralstyle. Possibly issue with tensorflow PATH environment #102

Open
aortiz94303 opened this issue Feb 10, 2020 · 0 comments

Comments

@aortiz94303
Copy link

Having an issue. Might be with tenslorflow or cudnn. I thought I have added them to PATH correctly in windows.

C:\Users\angel\Downloads\neural-style-tf-master>python neural_style.py --content_img "face.jpg" --content_img_dir "image_input" --style_imgs "kandinsky.jpg" --style_imgs_dir "styles" --img_name "lion-kandinsky-output" --device "/gpu:0"
C:\Users\angel\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\dtypes.py:469: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
C:\Users\angel\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\dtypes.py:470: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
C:\Users\angel\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\dtypes.py:471: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
C:\Users\angel\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\dtypes.py:472: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_quint16 = np.dtype([("quint16", np.uint16, 1)])
C:\Users\angel\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\dtypes.py:473: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_qint32 = np.dtype([("qint32", np.int32, 1)])
C:\Users\angel\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\dtypes.py:476: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
Traceback (most recent call last):
File "neural_style.py", line 3, in
import scipy.io
File "C:\Users\angel\AppData\Local\Programs\Python\Python35\lib\site-packages\scipy_init
.py", line 156, in
from . import fft
File "C:\Users\angel\AppData\Local\Programs\Python\Python35\lib\site-packages\scipy\fft_init
.py", line 76, in
from ._basic import (
File "C:\Users\angel\AppData\Local\Programs\Python\Python35\lib\site-packages\scipy\fft_basic.py", line 1, in
from scipy._lib.uarray import generate_multimethod, Dispatchable
File "C:\Users\angel\AppData\Local\Programs\Python\Python35\lib\site-packages\scipy_lib\uarray.py", line 27, in
from .uarray import *
File "C:\Users\angel\AppData\Local\Programs\Python\Python35\lib\site-packages\scipy_lib_uarray_init
.py", line 114, in
from ._backend import *
File "C:\Users\angel\AppData\Local\Programs\Python\Python35\lib\site-packages\scipy_lib_uarray_backend.py", line 1, in
from typing import (
ImportError: cannot import name 'Type'

Not sure if this is an isue of python version mismatch.
running python 3.5
CUDA 8.0
Cudnn 6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant