Comments (2)
Hi @miu200521358 thanks for bringing attention to this. I see that you ran out of GPU memory during the precomputation step (load_state_dict_post_hook
of super_charged_r4dv
).
- The very large memory usage
17179869184.00 GiB
might be a bug on the PyTorch side and it looks like only a logging bug. - It is possible to render 4K4D on a 8GB machine. The memory required for the rendering itself is very small. The OOM error you encountered happened during pre-computation. And I assume it's because I set the batch size too high (same as the number of views). I tuned the memory usage for a 12GB machine. You can try modifying this invokation
# Compute projected color of every image, using the original size image
ibrs_rgbs = sample_geometry_feature_image(
xyz,
src_feat_inps,
src_exts,
src_ixts,
src_inps.new_ones(2, 1),
) # B, S, N, 3
to wrap it around a for-loop on the second (the S
) dimension like how I computed the image features later:
# Compute blending weights from the image features
bws = torch.cat([sampler.ibr_regressor.rgb_mlp(xyz_ibr_rgbs[:, j:j + 1]) for j in range(xyz_ibr_rgbs.shape[-3])], dim=-3) # B, S, N, 1
timer.record('compute blending weights')
from 4k4d.
@miu200521358 I updated the rendering code to load the DNA-Rendering dataset more efficiently in some recent commits. Could you please try whether this fixed the OOM issue?
from 4k4d.
Related Issues (20)
- No mask directory in Mobile-stage dataset HOT 7
- EasyVolcap can't import xxx HOT 2
- Get in trouble with pytorch3d 's installing and tiny-cuda-nn 's compiling. HOT 2
- where is the preprocess scripts for DNA-Rendering dataset? HOT 1
- Are there any detailed steps for training our own data? HOT 10
- error in imgui_bundle HOT 5
- version `GLIBC_2.33' not found HOT 2
- Extraction of depth map and normal map HOT 1
- training speed HOT 1
- Runtime exception: Could not find {optimized/intri.yml,optimized/extri.yml} HOT 1
- There was a problem rendering the smallest data set HOT 1
- Bad result on custom dataset HOT 5
- Render my trained model HOT 1
- Training Error: launcher() got an unexpected keyword argument 'viewer_cfg' HOT 2
- error in evc-gui -c configs/projects/realtime4dv/rendering/4k4d_0008_01.yaml,configs/specs/vf0.yaml HOT 2
- error in python scripts/realtime4dv/extract_images.py
- error in: evc-train HOT 2
- An error occurred during the joint training model conversion. HOT 3
- Difference From 4DGS HOT 6
- Got bad rendering quality than expected after training 4K4D on NHR dataset HOT 2
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 4k4d.