Comments (6)
mmcls 0.25.0 mmcv-full 1.5.2 mmdet 2.24.0 mmdet3d 1.0.0rc4 mmsegmentation 0.24.0 this is my envs,actually it's created according to your install.md,I have tried the following operation: type(img_metas[0]) <class 'mmcv.parallel.data_container.DataContainer'> img_metas[0].data() Traceback (most recent call last): File "", line 1, in TypeError: 'list' object is not callable
As you can see,
.data()
seems not to be useful for the question @zhiqi-li
I change the code as this and it works:
# if num_augs==1 and not img_metas[0][0].get('tta_config', dict(dist_tta=False))['dist_tta']:
if num_augs==1 and not img_metas[0].data[0][0].get('tta_config', dict(dist_tta=False))['dist_tta']:
# return self.simple_test(points[0], img_metas[0], img_inputs[0],
# **kwargs)
return self.simple_test(points[0], img_metas[0].data[0], img_inputs[0],
**kwargs)
else:
from fb-bev.
I also encountered this error, have you solved this problem?
from fb-bev.
I encounted the same question, @zhiqi-li please teel us the reasons
from fb-bev.
I think this is the problem of versions of openmmlab packages. The input img_metas
still are wrapped with its DataContainer
, and this can be solved by calling .data
property of DataContainer
to recover the raw data.
from fb-bev.
mmcls 0.25.0
mmcv-full 1.5.2
mmdet 2.24.0
mmdet3d 1.0.0rc4
mmsegmentation 0.24.0
this is my envs,actually it's created according to your install.md,I have tried the following operation:
type(img_metas[0])
<class 'mmcv.parallel.data_container.DataContainer'>
img_metas[0].data()
Traceback (most recent call last):
File "", line 1, in
TypeError: 'list' object is not callable
As you can see,.data()
seems not to be useful for the question @zhiqi-li
from fb-bev.
@cdb342 Maybe you should consider submitting a pull request that addresses this problem.
from fb-bev.
Related Issues (20)
- 3D detection
- Float Point Precision for 3D heads
- Question about the depth pretrained checkpoint
- Unexpected key(s) in state_dict: "img_sem_seg_head.seg_net.0.weight", "img_sem_seg_head.seg_net.0.bias", "img_sem_seg_head.seg_net.3.weight", "img_sem_seg_head.seg_net.3.bias".
- Help on setting up environment HOT 1
- Why we need to rot90 and flip the occupancy ground truth in LoadOccupancy? HOT 3
- Error running inference: ModuleNotFoundError: No module named 'spconv' HOT 1
- About "fix_void" HOT 2
- What is the difference between image feature and context?
- ONNX model export? HOT 2
- Can author provide a log file for training?
- vis_occupancy results problem HOT 3
- ndrive drive sim
- latency of VTM
- 关于【LoadBEVMask】的实现
- 17个类别的IoU HOT 1
- Incompatible Package Versions HOT 1
- How to change batch size for evaluation?
- Evaluation results HOT 1
- Why do_history=False in the config
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 fb-bev.