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
During handling of the above exception, another exception occurred #265
Comments
I have no idea how to execute on Windows. Apparently it relates to the python environment: python and tensorflow. |
what can i do |
cuda or cudnn |
i use the gpu vesion |
I would suggest you search how to execute tensorflow on Windows with GPU. |
thanks i solve this question but train.py Get stuck �[32m[2019-05-22 23:29:51 @weights_viewer.py:60]�[0m Total size of trainable weights: 0G 10M 184K 136B (Assuming32-bit data type.) |
Traceback (most recent call last): the test.py how can i modify it import argparse import cv2 from inpaint_model import InpaintCAModel parser = argparse.ArgumentParser() if name == "main":
|
Remove the line of ng.get_gpus(1) |
Traceback (most recent call last): |
I don't know why Windows has so many problems |
These are very basic errors and I believe you can solve by yourself. |
But I have no idea to solve this |
I will try to solve |
import argparse import cv2 from inpaint_model import InpaintCAModel parser = argparse.ArgumentParser() if name == "main":
|
but run error |
can you help me |
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 6, in
import tensorflow as tf
File "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_init_.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python_init_.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed: 找不到指定的模块。
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
The text was updated successfully, but these errors were encountered: