You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got output x error in cycle gan code
C:\Users\kunal kushwaha\Desktop\deep learning\GANS\Keras-GAN-master\cyclegan>cyclegan.py
2020-11-16 10:18:45.150934: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_100.dll
Using TensorFlow backend.
2020-11-16 10:18:48.422631: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll
2020-11-16 10:18:49.377302: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties:
name: GeForce GTX 1050 major: 6 minor: 1 memoryClockRate(GHz): 1.493
pciBusID: 0000:01:00.0
2020-11-16 10:18:49.385181: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.
2020-11-16 10:18:49.391607: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1746] Adding visible gpu devices: 0
2020-11-16 10:18:49.395769: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-11-16 10:18:49.405156: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties:
name: GeForce GTX 1050 major: 6 minor: 1 memoryClockRate(GHz): 1.493
pciBusID: 0000:01:00.0
2020-11-16 10:18:49.417555: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.
2020-11-16 10:18:49.426601: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1746] Adding visible gpu devices: 0
2020-11-16 10:18:50.256764: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1159] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-11-16 10:18:50.263236: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1165] 0
2020-11-16 10:18:50.269080: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1178] 0: N
2020-11-16 10:18:50.274571: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1304] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3001 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1050, pci bus id: 0000:01:00.0, compute capability: 6.1)
1 Physical GPUs, 1 Logical GPUs
2020-11-16 10:18:52.382140: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
2020-11-16 10:18:53.522456: W tensorflow/stream_executor/cuda/redzone_allocator.cc:312] Internal: Invoking ptxas not supported on Windows
Relying on driver to perform ptx compilation. This message will be only logged once.
C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\keras\engine\training.py:297: UserWarning: Discrepancy between trainable weights and collected trainable weights, did you set model.trainable without calling model.compile after ?
'Discrepancy between trainable weights and collected trainable'
C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\keras\engine\training.py:297: UserWarning: Discrepancy between trainable weights and collected trainable weights, did you set model.trainable without calling model.compile after ?
'Discrepancy between trainable weights and collected trainable'
C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\keras\engine\training.py:297: UserWarning: Discrepancy between trainable weights and collected trainable weights, did you set model.trainable without calling model.compile after ?
'Discrepancy between trainable weights and collected trainable'
[Epoch 0/200] [Batch 0/995] [D loss: 41.096264, acc: 17%] [G loss: 112.422920, adv: 46.514774, recon: 0.879156, id: 1.014907] time: 0:00:27.812970
C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\keras\engine\training.py:297: UserWarning: Discrepancy between trainable weights and collected trainable weights, did you set model.trainable without calling model.compile after ?
'Discrepancy between trainable weights and collected trainable'
2020-11-16 10:20:18.783769: W tensorflow/core/common_runtime/base_collective_executor.cc:216] BaseCollectiveExecutor::StartAbort Failed precondition: Error while reading resource variable _AnonymousVar114 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar114/class tensorflow::Var does not exist.
[[{{node mul_6/ReadVariableOp}}]]
Traceback (most recent call last):
File "C:\Users\kunal kushwaha\Desktop\deep learning\GANS\Keras-GAN-master\cyclegan\cyclegan.py", line 274, in
gan.train(epochs=200, batch_size=1, sample_interval=200)
File "C:\Users\kunal kushwaha\Desktop\deep learning\GANS\Keras-GAN-master\cyclegan\cyclegan.py", line 197, in train
dA_loss_real = self.d_A.train_on_batch(imgs_A, valid)
File "C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\keras\engine\training.py", line 1514, in train_on_batch
outputs = self.train_function(ins)
File "C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\keras\backend.py", line 3740, in call
outputs = self._graph_fn(*converted_inputs)
File "C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\function.py", line 1081, in call
return self._call_impl(args, kwargs)
File "C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\function.py", line 1121, in _call_impl
return self._call_flat(args, self.captured_inputs, cancellation_manager)
File "C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\function.py", line 1224, in _call_flat
ctx, args, cancellation_manager=cancellation_manager)
File "C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\function.py", line 511, in call
ctx=ctx)
File "C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\execute.py", line 67, in quick_execute
six.raise_from(core._status_to_exception(e.code, message), None)
File "", line 3, in raise_from
tensorflow.python.framework.errors_impl.FailedPreconditionError: Error while reading resource variable _AnonymousVar114 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar114/class tensorflow::Var does not exist.
[[node mul_6/ReadVariableOp (defined at \AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\framework\ops.py:1751) ]] [Op:__inference_keras_scratch_graph_6751]
Function call stack:
keras_scratch_graph
please help sir
thanks in advance
The text was updated successfully, but these errors were encountered:
I got output x error in cycle gan code
C:\Users\kunal kushwaha\Desktop\deep learning\GANS\Keras-GAN-master\cyclegan>cyclegan.py
2020-11-16 10:18:45.150934: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_100.dll
Using TensorFlow backend.
2020-11-16 10:18:48.422631: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll
2020-11-16 10:18:49.377302: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties:
name: GeForce GTX 1050 major: 6 minor: 1 memoryClockRate(GHz): 1.493
pciBusID: 0000:01:00.0
2020-11-16 10:18:49.385181: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.
2020-11-16 10:18:49.391607: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1746] Adding visible gpu devices: 0
2020-11-16 10:18:49.395769: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-11-16 10:18:49.405156: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties:
name: GeForce GTX 1050 major: 6 minor: 1 memoryClockRate(GHz): 1.493
pciBusID: 0000:01:00.0
2020-11-16 10:18:49.417555: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.
2020-11-16 10:18:49.426601: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1746] Adding visible gpu devices: 0
2020-11-16 10:18:50.256764: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1159] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-11-16 10:18:50.263236: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1165] 0
2020-11-16 10:18:50.269080: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1178] 0: N
2020-11-16 10:18:50.274571: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1304] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3001 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1050, pci bus id: 0000:01:00.0, compute capability: 6.1)
1 Physical GPUs, 1 Logical GPUs
2020-11-16 10:18:52.382140: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
2020-11-16 10:18:53.522456: W tensorflow/stream_executor/cuda/redzone_allocator.cc:312] Internal: Invoking ptxas not supported on Windows
Relying on driver to perform ptx compilation. This message will be only logged once.
C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\keras\engine\training.py:297: UserWarning: Discrepancy between trainable weights and collected trainable weights, did you set
model.trainable
without callingmodel.compile
after ?'Discrepancy between trainable weights and collected trainable'
C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\keras\engine\training.py:297: UserWarning: Discrepancy between trainable weights and collected trainable weights, did you set
model.trainable
without callingmodel.compile
after ?'Discrepancy between trainable weights and collected trainable'
C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\keras\engine\training.py:297: UserWarning: Discrepancy between trainable weights and collected trainable weights, did you set
model.trainable
without callingmodel.compile
after ?'Discrepancy between trainable weights and collected trainable'
[Epoch 0/200] [Batch 0/995] [D loss: 41.096264, acc: 17%] [G loss: 112.422920, adv: 46.514774, recon: 0.879156, id: 1.014907] time: 0:00:27.812970
C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\keras\engine\training.py:297: UserWarning: Discrepancy between trainable weights and collected trainable weights, did you set
model.trainable
without callingmodel.compile
after ?'Discrepancy between trainable weights and collected trainable'
2020-11-16 10:20:18.783769: W tensorflow/core/common_runtime/base_collective_executor.cc:216] BaseCollectiveExecutor::StartAbort Failed precondition: Error while reading resource variable _AnonymousVar114 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar114/class tensorflow::Var does not exist.
[[{{node mul_6/ReadVariableOp}}]]
Traceback (most recent call last):
File "C:\Users\kunal kushwaha\Desktop\deep learning\GANS\Keras-GAN-master\cyclegan\cyclegan.py", line 274, in
gan.train(epochs=200, batch_size=1, sample_interval=200)
File "C:\Users\kunal kushwaha\Desktop\deep learning\GANS\Keras-GAN-master\cyclegan\cyclegan.py", line 197, in train
dA_loss_real = self.d_A.train_on_batch(imgs_A, valid)
File "C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\keras\engine\training.py", line 1514, in train_on_batch
outputs = self.train_function(ins)
File "C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\keras\backend.py", line 3740, in call
outputs = self._graph_fn(*converted_inputs)
File "C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\function.py", line 1081, in call
return self._call_impl(args, kwargs)
File "C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\function.py", line 1121, in _call_impl
return self._call_flat(args, self.captured_inputs, cancellation_manager)
File "C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\function.py", line 1224, in _call_flat
ctx, args, cancellation_manager=cancellation_manager)
File "C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\function.py", line 511, in call
ctx=ctx)
File "C:\Users\kunal kushwaha\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\execute.py", line 67, in quick_execute
six.raise_from(core._status_to_exception(e.code, message), None)
File "", line 3, in raise_from
tensorflow.python.framework.errors_impl.FailedPreconditionError: Error while reading resource variable _AnonymousVar114 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar114/class tensorflow::Var does not exist.
[[node mul_6/ReadVariableOp (defined at \AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\framework\ops.py:1751) ]] [Op:__inference_keras_scratch_graph_6751]
Function call stack:
keras_scratch_graph
please help sir
thanks in advance
The text was updated successfully, but these errors were encountered: