Coder Social home page Coder Social logo

Comments (11)

mrlzc avatar mrlzc commented on August 25, 2024 3

@SleepProgger
Use the parameter --cpu_mode for that.But still crashes,it show the message:

I0526 16:03:39.424075 5657 net.cpp:744] Ignoring source layer loss_class_SoftmaxLossPred_0_split
I0526 16:03:39.424103 5657 net.cpp:744] Ignoring source layer loss_log
Setting ab cluster centers in layer: pred_ab
Setting upsampling layer kernel: pred_313_us
test_imgs/mortar_pestle.jpg
scale = 2.000000
Has been killed

How can i solve this problem?

from interactive-deep-colorization.

SleepProgger avatar SleepProgger commented on August 25, 2024 1

Use the parameter --cpu_mode for that.
That was added 2 days ago so you might need to update.
But it will be pretty slow.

from interactive-deep-colorization.

SleepProgger avatar SleepProgger commented on August 25, 2024

It looks like you used the caffe-cpu packages.
You can only have caffe-cpu OR caffe-gpu installed at the same time.
This error will occur if you try to use the GPU mode with caffe-cpu.

from interactive-deep-colorization.

vlasenkov avatar vlasenkov commented on August 25, 2024

But ideepcolor.py uses caffe-gpu by default. Is there a way to run it with caffe-cpu?

from interactive-deep-colorization.

vlasenkov avatar vlasenkov commented on August 25, 2024

--cpu_mode option worked for me

from interactive-deep-colorization.

junyanz avatar junyanz commented on August 25, 2024

@mrlzc Have you tried to compile the Caffe with the python layer support? See this post for more details.

from interactive-deep-colorization.

BRUCE6 avatar BRUCE6 commented on August 25, 2024

same as @mrlzc , also I have compiled the caffe with the python layer support

from interactive-deep-colorization.

mrlzc avatar mrlzc commented on August 25, 2024

I have solved this problem by changing the configuration of the virtual machine,can not compiled before because the virtual machine memory is too small,you can try it.
good luck for you.

from interactive-deep-colorization.

BRUCE6 avatar BRUCE6 commented on August 25, 2024

Thanks for your tip! How much memory does it need? And how long does it need to process until the qt window shows up?

from interactive-deep-colorization.

junyanz avatar junyanz commented on August 25, 2024

I can run the program on a GTX 1080 with 8 GB memory. The program consumes 4.5 GB GPU memory for the default test image mortar_pestle.jpg.

from interactive-deep-colorization.

mrlzc avatar mrlzc commented on August 25, 2024

The beginning of the virtual machine is the use of 4G memory,and then appeared above the kind of problem,then changed the memory from 4G to 8G,wait for a few minutes to complete all the operations.

from interactive-deep-colorization.

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.