Giter Club home page Giter Club logo

Comments (6)

timmeinhardt avatar timmeinhardt commented on May 25, 2024

Hello and thank you for your interest in our research.
In order to use our code you should follow the installation steps in our README.rst. Your error comes from using the official ProxImaL package instead of our own modified version. Please install our version with pip3 install git+https://github.com/timmeinhardt/ProxImaL@learn_prox_ops. This includes the BM3D denoising proximal function.

If this resolves your issue please close it and do not hesitate to ask if you encounter further problems!

from learn_prox_ops.

Benlawei avatar Benlawei commented on May 25, 2024

Thank u,I have followed the installation steps and solved above problem.
But when I use python3 src/experiment_deblurring.py with experiment_name=experiment_a image_name=barbara elemental.optimal_DNCNN_experiment_a,I got a lot of Traceback,such as:
INFO:tensorflow:Restoring parameters from models/DNCNN__gaussian_0.02__40-40-1__128/model.ckpt
INFO - tensorflow - Restoring parameters from models/DNCNN__gaussian_0.02__40-40-1__128/model.ckpt
2018-04-06 20:21:00.430443: W tensorflow/core/framework/op_kernel.cc:1192] Data loss: not an sstable (bad magic number)
...
DataLossError (see above for traceback): not an sstable (bad magic number)
[[Node: save/RestoreV2_5 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2_5/tensor_names, save/RestoreV2_5/shape_and_slices)]]
[[Node: save/RestoreV2_14/_5 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device_incarnation=1, tensor_name="edge_76_save/RestoreV2_14", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"]]
I think there may be some problems when restoring parameters from checkpoint.

from learn_prox_ops.

timmeinhardt avatar timmeinhardt commented on May 25, 2024

Could you please check if your TensorFlow version is indeed 1.3.0.

from learn_prox_ops.

Benlawei avatar Benlawei commented on May 25, 2024

I used the command pip3 install tensorflow-gpu==1.3.0,and my TensorFlow version is tensorflow-gpu (1.3.0). In fact, I have used other versions of the TensorFlow as an attempt,but I still got the same TraceBack .

from learn_prox_ops.

timmeinhardt avatar timmeinhardt commented on May 25, 2024

And you also installed Git LSF and downloaded all the necessary model files? There must be three files in the corresponding subdirectory.

Edit.: I just reproduced the error when I clone the repository without Git LSF. Eventhough there are files in the model directories these are just 4kB placeholders.

from learn_prox_ops.

timmeinhardt avatar timmeinhardt commented on May 25, 2024

@Benlawei Can we close this issue or did you encounter any other troubles?

from learn_prox_ops.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.