Comments (3)
If you are using TensorFlow 2+, please add the following code after importing tf library:
tf.compat.v1.disable_v2_behavior()
from dped.
Thank you. above issue is resolved.
step6. Test the obtained models.
this step giving below output.
2020-03-13 09:01:44.545328: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2020-03-13 09:01:44.580901: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
WARNING:tensorflow:From C:\Python3\lib\site-packages\tensorflow_core\python\compat\v2_compat.py:88: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
WARNING:tensorflow:From C:\Python3\lib\site-packages\tensorflow_core\python\ops\resource_variable_ops.py:1635: calling BaseResourceVariable.init (from tensorflow.python.ops.resource_variable_ops) with constraint is deprecated and will be removed in a future version.
Instructions for updating:
If using Keras pass *_constraint arguments to layers.
2020-03-13 09:01:53.883610: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-03-13 09:01:53.982217: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll
2020-03-13 09:01:54.638572: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-03-13 09:01:54.677279: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102]
Traceback (most recent call last):
File "test_model.py", line 81, in
saver.restore(sess, "models/" + phone + "iteration" + str(i) + ".ckpt")
File "C:\Python3\lib\site-packages\tensorflow_core\python\training\saver.py", line 1282, in restore
checkpoint_prefix)
ValueError: The passed save_path is not a valid checkpoint: models/iphone_iteration_13000.ckpt
can you tell us why we are getting this.
from dped.
Hi @raghusumanth,
The code was updated to be compatible with TensorFlow 2.x.
from dped.
Related Issues (20)
- Quite slow on my mac machine for given models. HOT 1
- I want to test this pretrained model on single image how can I do it HOT 2
- Unable to download the pre-trained VGG -19 Model HOT 1
- I want to change the network to single channel HOT 1
- Why "enhanced = tf.nn.tanh(conv2d(c11, W12) + b12) * 0.58 + 0.5"? HOT 1
- Do you have the file of '.meta'? HOT 1
- Resume learning HOT 1
- too slow when training (not using GPU)
- issue about preprocessing code
- collecting data HOT 1
- 感觉不如opencv一行代码提升效果明显 HOT 1
- Comparison with APE that is source-ignorant? HOT 1
- Download links no longer works
- discrim_predicitions
- A brilliant idea!
- Data set Download links no works HOT 3
- Not Good Result after training HOT 1
- can you upload how to generate Dataset scriptes? HOT 1
- Need RAW-RGB alignment code for custom dataset creation and training
- Cannot download DPED pre-trained model
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dped.