Code Monkey home page Code Monkey logo

Comments (5)

Micah867 avatar Micah867 commented on July 3, 2024 4

I think this is caused by your video card timing out. Many people have been having similar problems running the executable and are concluding it's a memory problem. I rebuilt the exe to disable image resizing and processing 1500px images only need about 5GB, and 2000px images only need about 10GB. The only trouble I've had is with a GeForce card (Tesla works fine in TCC mode) and the Timeout Detection & Recovery (TDR). The TDR can be disabled using the NSight Monitor, and doing so allows a GTX 1070 to process the example images with any ratio and other images with much higher resolution (with a modified binary).

from deep-image-analogy.

enhulu avatar enhulu commented on July 3, 2024

I am using GTX960 4GB... does it mean I cannot run example with ratio higher than 0.2?

from deep-image-analogy.

enhulu avatar enhulu commented on July 3, 2024

Hi, Micah867, could you share some info on how to disable image resizing?

from deep-image-analogy.

Micah867 avatar Micah867 commented on July 3, 2024

If a single cuda launch takes longer than 2 seconds (the default number, I think) then the program will crash. You can reduce the required time by using smaller images or using a lower ratio. Alternatively, you can disable the time limit (TDR).

A GTX960 has plenty of memory to run the program, but depending on the input image size and ratio it might not finish each individual calculation in less than 2 seconds and crash.
The maximum image size is hardcoded as 700px to prevent crashes. You can just find/replace 700 with 7000000 in DeepAnalogy.cu. Expect the program to crash if you input an image too large.

from deep-image-analogy.

enhulu avatar enhulu commented on July 3, 2024

Thanks @Micah867

from deep-image-analogy.

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.