-
Notifications
You must be signed in to change notification settings - Fork 29
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
error in windows os :tensorflow.python.framework.errors_impl.InvalidArgumentError: Failed to create a directory: Log/train/2020-08-01 23:46:01; Invalid argument #6
Comments
Traceback (most recent call last): Process finished with exit code 1 |
Hi, John.
You need to make sure that your account has the right to mkdir the
filefold, and make sure that there is "./Log" in your file system.
Best regards!
Changsu.
Johnzu-2019 <[email protected]> 于2020年8月2日周日 上午12:44写道:
… "C:\Program Files\Python37\python.exe"
E:/project/python/C3D-Tensorflow-slim-master/C3D-Tensorflow-slim-master/train.py
WARNING: Logging before flag parsing goes to stderr.
W0802 00:39:53.968642 1484 deprecation.py:323] From
E:/project/python/C3D-Tensorflow-slim-master/C3D-Tensorflow-slim-master/train.py:33:
softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is
deprecated and will be removed in a future version.
Instructions for updating:
Future major versions of TensorFlow will allow gradients to flow
into the labels input on backprop by default.
See tf.nn.softmax_cross_entropy_with_logits_v2.
W0802 00:39:53.988660 1484 deprecation_wrapper.py:119] From
E:/project/python/C3D-Tensorflow-slim-master/C3D-Tensorflow-slim-master/train.py:38:
The name tf.summary.scalar is deprecated. Please use
tf.compat.v1.summary.scalar instead.
2020-08-02 00:39:54.362051: I
tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports
instructions that this TensorFlow binary was not compiled to use: AVX2
2020-08-02 00:39:54.365024: I
tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully
opened dynamic library nvcuda.dll
2020-08-02 00:39:54.389653: I
tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with
properties:
name: GeForce GTX 1050 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.455
pciBusID: 0000:26:00.0
2020-08-02 00:39:54.389783: I
tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU
libraries are statically linked, skip dlopen check.
2020-08-02 00:39:54.390447: I
tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu
devices: 0
2020-08-02 00:39:54.908890: I
tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect
StreamExecutor with strength 1 edge matrix:
2020-08-02 00:39:54.908990: I
tensorflow/core/common_runtime/gpu/gpu_device.cc:1187] 0
2020-08-02 00:39:54.909041: I
tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0: N
2020-08-02 00:39:54.909727: I
tensorflow/core/common_runtime/gpu/gpu_device.cc:1326] Created TensorFlow
device (/job:localhost/replica:0/task:0/device:GPU:0 with 3000 MB memory)
-> physical GPU (device: 0, name: GeForce GTX 1050 Ti, pci bus id:
0000:26:00.0, compute capability: 6.1)
Traceback (most recent call last):
File
"E:/project/python/C3D-Tensorflow-slim-master/C3D-Tensorflow-slim-master/train.py",
line 48, in
train_summary_writer = tf.compat.v1.summary.FileWriter(TRAIN_LOG_DIR,
sess.graph)
File
"C:\Users\Joe\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\summary\writer\writer.py",
line 367, in *init*
filename_suffix)
File
"C:\Users\Joe\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\summary\writer\event_file_writer.py",
line 67, in *init*
gfile.MakeDirs(self._logdir)
File
"C:\Users\Joe\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\lib\io\file_io.py",
line 438, in recursive_create_dir
recursive_create_dir_v2(dirname)
File
"C:\Users\Joe\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\lib\io\file_io.py",
line 453, in recursive_create_dir_v2
pywrap_tensorflow.RecursivelyCreateDir(compat.as_bytes(path))
tensorflow.python.framework.errors_impl.InvalidArgumentError: Failed to
create a directory: Log/train/2020-08-02 00:39:53; Invalid argument
Process finished with exit code 1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPH6MSPRUH7OMZ2IAD4XQTR6RA7RANCNFSM4PR4BJQA>
.
|
The text was updated successfully, but these errors were encountered: