Git Product home page Git Product logo

Comments (5)

phoenix104104 avatar phoenix104104 commented on August 23, 2024

Which system do you use? Could you check is your "vllab_dag_loss.m" copied to matconvnet/matlab/+dagnn properly? If not, you have to manually copy it. Some people report that the copy command in MATLAB does not work on Window 10.

from lapsrn.

trillionpowers avatar trillionpowers commented on August 23, 2024

My system is ubuntu 14.04. The environment is matlab R2015b + CUDA8.0.
My matconvnet is installed in this path /usr/local/MATLAB/R2015b/toolbox/Matconvnet/matconvnet-1.0-beta24. I have tried install.m and is successful. I also tried copy "vllab_dag_loss.m" to matconvnet/matlab/+dagnn. But it just can not found this object. The errors are like this:

demo_LapSRN
Warning: Name is nonexistent or not a directory:
/media/trillionpowers/Data/Work/RL_SR/Basical_Model/LapSRN_model/LapSRN-master/usr/local/MATLAB/R2015b/toolbox/Matconvnet/matconvnet-1.0-beta24/matlab
In path (line 109)
In addpath (line 88)
In demo_LapSRN (line 25)
Load pretrained_models/LapSRN_x4.mat
Error using dagnn.DagNN.loadobj
Error: File: loadobj.m Line: 26 Column: 5
The input character is not valid in MATLAB statements or expressions.

Error in demo_LapSRN (line 33)
net = dagnn.DagNN.loadobj(net.net);

Thank you for your help. @phoenix104104

from lapsrn.

phoenix104104 avatar phoenix104104 commented on August 23, 2024

You should copy vllab_dag_loss.m to your own MatConvNet path. In your case, it's
/usr/local/MATLAB/R2015b/toolbox/Matconvnet/matconvnet-1.0-beta24/matlab/+dagnn

from lapsrn.

trillionpowers avatar trillionpowers commented on August 23, 2024

Sure. I have copied this file to this path many times and use 'vl_compilenn('enableGPu', true);' to compile.
But I still have this error when I run 'demo_LapSRN.m' and 'train_LapSRN.m'.
I have tried to Change permissions of this file in 777. But it still can not run.

Thank you for your help. @phoenix104104

from lapsrn.

trillionpowers avatar trillionpowers commented on August 23, 2024

Thanks a lot. I reboot my system and make it again. It's run !

from lapsrn.

Related Issues (20)

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.