Comments (3)
您好,我之前确实没遇到过这样的问题,我猜想会不会是因为keyframe缓存太多,导致的资源占用过大,您可以试着调整这个值把这里的20调成2试试,如果可以的话再增大。
from nerf-loam.
更改这个数值后确实可以运行更久了,但是后面会报以下这个错。
********** current num kfs: 2 **********
frame id 956
trans tensor([150.7139, 2.9822, 0.5144], device='cuda:0', grad_fn=<SubBackward0>)
frame id 957
trans tensor([152.0837, 3.0972, 0.5227], device='cuda:0', grad_fn=<SubBackward0>)
/usr/local/lib/python3.8/dist-packages/torch/functional.py:599: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:2315.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
Process Process-2:
Traceback (most recent call last):
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/data/NeRF-LOAM-master/src/mapping.py", line 98, in spin
tracked_frame = kf_buffer.get()
File "/usr/lib/python3.8/multiprocessing/queues.py", line 116, in get
return _ForkingPickler.loads(res)
File "/usr/local/lib/python3.8/dist-packages/torch/multiprocessing/reductions.py", line 297, in rebuild_storage_fd
fd = df.detach()
File "/usr/lib/python3.8/multiprocessing/resource_sharer.py", line 57, in detach
with _resource_sharer.get_connection(self._id) as conn:
File "/usr/lib/python3.8/multiprocessing/resource_sharer.py", line 87, in get_connection
c = Client(address, authkey=process.current_process().authkey)
File "/usr/lib/python3.8/multiprocessing/connection.py", line 508, in Client
answer_challenge(c, authkey)
File "/usr/lib/python3.8/multiprocessing/connection.py", line 752, in answer_challenge
message = connection.recv_bytes(256) # reject large message
File "/usr/lib/python3.8/multiprocessing/connection.py", line 216, in recv_bytes
buf = self._recv_bytes(maxlength)
File "/usr/lib/python3.8/multiprocessing/connection.py", line 414, in _recv_bytes
buf = self._recv(4)
File "/usr/lib/python3.8/multiprocessing/connection.py", line 383, in _recv
raise EOFError
EOFError
[W CudaIPCTypes.cpp:15] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]
/usr/lib/python3.8/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 4 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
我尝试了两次,这个报错会稳定触发。
另外,我查看log后发现运行时完全没有进入post-processing steps,这是正常现象吗?
感谢您的帮助!
from nerf-loam.
After he change the GPU to rtx8000, the problem seems to be solved, the problem may be the unsuficient memory in docker environment. So I close this problem.
from nerf-loam.
Related Issues (20)
- torch.cuda.OutOfMemoryError HOT 17
- AttributeError: module 'grid' has no attribute 'svo_intersect' HOT 13
- IndexError: select(): index 108605 out of range for tensor of size [69829, 4] at dimension 0 HOT 4
- RuntimeError: CUDA out of memory. HOT 3
- whether Need groundtruth pose ? HOT 1
- AttributeError: 'NoneType' object has no attribute 'cuda' HOT 5
- AttributeError: module 'grid' has no attribute 'svo_intersect' HOT 1
- 关于编译patchwork-plusplus的问题
- NaN Result in OptimizablePose Class with Orthogonal Matrix of Determinant -1 HOT 1
- 关于patchwork++的问题 HOT 2
- Continuity HOT 2
- svo init HOT 2
- eval issue HOT 2
- 八叉树代码的困惑 HOT 2
- code confusion
- Same SDF issue HOT 3
- question about table1 HOT 2
- poor result about mesh HOT 11
- question about fig 6
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 nerf-loam.