Coder Social home page Coder Social logo

CPU Memory about unet_mxnet2ncnn HOT 7 CLOSED

xuduo35 avatar xuduo35 commented on June 25, 2024
CPU Memory

from unet_mxnet2ncnn.

Comments (7)

xuduo35 avatar xuduo35 commented on June 25, 2024

How much batch size did you set?

from unet_mxnet2ncnn.

Tomhouxin avatar Tomhouxin commented on June 25, 2024

16

from unet_mxnet2ncnn.

xuduo35 avatar xuduo35 commented on June 25, 2024

16 is not big. But you can try to decrease it, or input image size. I don't remember if I met with this issue or not. But I'm using Python3.5 and mxnet-cu80. Which line of trainunet.py cause this crash?

from unet_mxnet2ncnn.

Tomhouxin avatar Tomhouxin commented on June 25, 2024

I am also using Python3.5 on ubuntu14.04, not GPU. I can't remember which line. I'll let you know tomorrow.
I wonder this is running on android

from unet_mxnet2ncnn.

xuduo35 avatar xuduo35 commented on June 25, 2024

ncnn can run on android.

from unet_mxnet2ncnn.

Tomhouxin avatar Tomhouxin commented on June 25, 2024

line 73,like ‘curr_loss = F.mean(loss).asscalar()’. ncnn can run on android, but trainunet ?

from unet_mxnet2ncnn.

xuduo35 avatar xuduo35 commented on June 25, 2024

Seems your GPU's memory is not enough. You can try use small filter numbers. trainunet is only for training. Inference don't need these python scripts, only models.

from unet_mxnet2ncnn.

Related Issues (9)

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.