Coder Social home page Coder Social logo

Comments (4)

happynear avatar happynear commented on June 15, 2024 1

This patch is only valid on NTFS disk. It will create a file with size of 1TB, but occupies only a few disk space. The size of the db file will be truncated to its real size after all data is written done.

from caffe-builder.

willyd avatar willyd commented on June 15, 2024

Hi @pkrush, as stated in the README of this project the LMDB interface is not working.

Some discussion as been going on about this in this caffe PR.

Also, I just merged a PR by @happynear in my LMDB fork so you might just try to rebuild LMDB. To do so, either go to the download cache lmdb folder and enter:

git pull

or delete the lmdb folder and configure caffe-builder again.

After that build caffe-builder as usual and you should be good to go.

Let me know if this works.

from caffe-builder.

pkrush avatar pkrush commented on June 15, 2024

Thanks so much for pointing this out and thanks as well for caffe-builder in general.

Both methods did not work for me. They had the same result as before.

After seeing this post...

It did work fine after lowering LMDB_MAP_SIZE in db_lmdb.cpp
const size_t LMDB_MAP_SIZE = 1099511627776; // 1 TB

from caffe-builder.

pkrush avatar pkrush commented on June 15, 2024

My disks are NTFS, on Windows 10.
I made a copy before I did the get pull and liblmdb/mdb.c was updated.

BTW, this is not a big issue to me, I am going to work around it. I am just following up. Also this is a bit over my head. I am just learning as I go here.

Thanks!

from caffe-builder.

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.