Comments (7)
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.
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.
OpenLRM/openlrm/runners/train/base_trainer.py
Line 206 in c2260e0
from openlrm.
Hi @ZexinHe , thank you for the advise.
I've prepared images through Objaverse Rendering
as you can see below :
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
:
It would be greate if you can help me.
Thanks in advance:)
from openlrm.
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.
Thank you for your kind reply, @juanfraherrero !
I'll try it!
from openlrm.
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.
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)
- Issue serving a model trained with the provided training code HOT 14
- How to inference custom-trained model HOT 5
- Why encoder is not freeze in training config? HOT 1
- Can you share large training config?
- MVImgNet code HOT 1
- Not able to run blender_script.py and also how do I train on objaverse? HOT 24
- How to fix "Cannot find valid data directory for uid" error? HOT 3
- Inference Issue HOT 2
- 训练需要什么样的显卡配置 HOT 4
- Training with .obj files HOT 2
- How to evaluate metrics HOT 1
- Matrix multiplication: not supported between 'Matrix' and 'Vector' types HOT 2
- ValueError: math domain error HOT 5
- Inference result quality on trained model is not good HOT 10
- CUDA out of memory for inferring HOT 1
- What resources to train from scratch HOT 1
- Matrix multiplication: not supported between 'Matrix' and 'Vector' types HOT 1
- Pretrained models config files HOT 10
- Whether the camera system is OpenGL?
- Which parts are covered by Nvidia license? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openlrm.