Comments (4)
For more information, it stochastically throws a different type of error like this one.
Traceback (most recent call last):
File "train.py", line 76, in <module>
main(config)
File "train.py", line 55, in main
trainer.train()
File "dgr/core/trainer.py", line 135, in train
self._train_epoch(epoch)
File "dgr/core/trainer.py", line 241, in _train_epoch
rot_error = batch_rotation_error(pred_rots, gt_rots)
File "dgr/core/metrics.py", line 32, in batch_rotation_error
assert len(rots1) == len(rots2)
AssertionError
My environment is PyTorch 1.5.0, CUDA 10.1.243, python 3.7, ubuntu 18.04, and installed gcc7 as shown in Readme
from deepglobalregistration.
Found a bug or an issue
For the CollationFunctionFactory in the base_loader.py,
right before collate_pair_fn returns, I printed xyz0, xyz1, and len_batch like this
for x0, x1, lens in zip(xyz0, xyz1, len_batch):
print('collate xyz0 {}, xyz1 {}, lenb {}'.format(x0.shape, x1.shape, lens))
return {
'pcd0': xyz0,
'pcd1': xyz1,
'sinput0_C': coords_batch0,
'sinput0_F': feats_batch0,
'sinput1_C': coords_batch1,
'sinput1_F': feats_batch1,
'correspondences': matching_inds_batch,
'T_gt': trans_batch,
'len_batch': len_batch,
'extra_packages': extra_packages,
}
and the output is
collate xyz0 torch.Size([473, 3]), xyz1 torch.Size([473, 3]), lenb [473, 473]
collate xyz0 torch.Size([412, 3]), xyz1 torch.Size([414, 3]), lenb [412, 414]
collate xyz0 torch.Size([304, 3]), xyz1 torch.Size([298, 3]), lenb [459, 463]
collate xyz0 torch.Size([459, 3]), xyz1 torch.Size([463, 3]), lenb [411, 407]
collate xyz0 torch.Size([411, 3]), xyz1 torch.Size([407, 3]), lenb [402, 398]
collate xyz0 torch.Size([402, 3]), xyz1 torch.Size([398, 3]), lenb [269, 264]
collate xyz0 torch.Size([339, 3]), xyz1 torch.Size([334, 3]), lenb [339, 334]
collate xyz0 torch.Size([427, 3]), xyz1 torch.Size([425, 3]), lenb [427, 425]
collate xyz0 torch.Size([358, 3]), xyz1 torch.Size([362, 3]), lenb [358, 362]
collate xyz0 torch.Size([369, 3]), xyz1 torch.Size([345, 3]), lenb [296, 295]
collate xyz0 torch.Size([296, 3]), xyz1 torch.Size([295, 3]), lenb [335, 313]
collate xyz0 torch.Size([335, 3]), xyz1 torch.Size([313, 3]), lenb [366, 371]
as we can see, the shape of xyz0 and xyz1 does not match with lenb for some lines.
from deepglobalregistration.
Hi,
I have the same issue, can you please tell me if you solved this and how?
Thanks in advance
from deepglobalregistration.
I am facing a similar issue as well. How did you solve this?
from deepglobalregistration.
Related Issues (20)
- Pre-trained models from examples can't be loaded HOT 5
- KeyError: 'feat_model' HOT 4
- Data augmentation on KITTI
- Requirements for install HOT 1
- KITTI Dataset - minimum distance issue HOT 2
- The ground truth relative pose of frames in 3DMatch dataset
- Multiway registration module taking forever in Open3D implementation HOT 5
- Pretrained model url is broken HOT 1
- Please create Dockerfile
- Visualization Issue
- Registration for dynamic obstacles
- type object 'MinkowskiEngineBackend._C.RegionType' has no attribute 'HYPERCUBE'
- RuntimeError: CUBLAS_STATUS_EXECUTION_FAILED at /tmp/pip-install-z25sch0o/minkowskiengine_101b60a34a8c4b73a1c33ae9cb85e161/src/math_functions_gpu.cu:46
- Infinity Error HOT 4
- Issure in kitti dataloader HOT 1
- Training My Dataset
- AttributeError: 'SparseTensor' object has no attribute 'coords_key' HOT 1
- 3DMatch testing error HOT 1
- Version update
- 版本问题 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 deepglobalregistration.