Giter Club home page Giter Club logo

Comments (7)

juanfraherrero avatar juanfraherrero commented on June 3, 2024 1

Hi @hayoung-jeremy , I tried to train some epochs, but i don't have enough vram (always cuda-out-of-memory) to even load the model.
In this issue #2 he said he used 32 A100 to train the model for 2 days.
Except you have a good GPU it will be imposible.

About the guideline, I followed the instructions in the readme, first prepare your data, then train. aBut as i said i can´t load the model so i don't know if I did it right.

Sorry! Good Luck.

from openlrm.

ZexinHe avatar ZexinHe commented on June 3, 2024

Hi,

I'm not sure what you mean by add models to directory. To enable training, root_dirs should have a directory containing multiple folders e.g. uid1, uid2, uid3, etc. And uid1 should contain rgba, pose, and intrinsics.npy.

  • root_dir
    • uid1
      • rgba
      • pose
      • intrinsics.npy
    • uid2
      • ....

For finetuning, plz try to use this method.

def load_model_(self, cfg):

from openlrm.

hayoung-jeremy avatar hayoung-jeremy commented on June 3, 2024

Hi @ZexinHe , thank you for the advise.
I've prepared images through Objaverse Rendering as you can see below :
image
However, not sure how to prepare those pose and intrinsics.npy.
I'm very new to AI, so please could you specify more details for training?

Also, I have no idea how to prepare thos meta_path's json files in train-sample.yaml :
image

It would be greate if you can help me.
Thanks in advance:)

from openlrm.

juanfraherrero avatar juanfraherrero commented on June 3, 2024

I'm not so sure but following the code, in openlrm/datasets/base.py in line 46 expects a file path to a json with the uuids.

So i would try to create a json file with ["uid1","uid2",...]. #33

And reference by path to that json with the path

meta_path:
train: "your_path_to_json"

from openlrm.

hayoung-jeremy avatar hayoung-jeremy commented on June 3, 2024

Thank you for your kind reply, @juanfraherrero !
I'll try it!

from openlrm.

hayoung-jeremy avatar hayoung-jeremy commented on June 3, 2024

Hi @juanfraherrero , is it possible to finetune the pretrained LRM models with my custom small dataset?
I'm currently trying overfitting with my 100 pairs of high quality glb files, but it is zero-based training.
So I wonder if it is possible to use pretrained models mentioned on the README.md such as openlrm-mix-large-1.1 etc.
I don't see any guideline for finetuning, so asking your help.
Thank you in advance!

from openlrm.

hayoung-jeremy avatar hayoung-jeremy commented on June 3, 2024

Hi @juanfraherrero , thank you for your kind reply!

I've tried fine-tuning using the base model provided by OpenLRM.
If you're interested, please take a look at this

from openlrm.

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.