Comments (1)
load metainfo:获取数据集的元信息,元信息有三种来源,优先级从高到低为:
__init__() 方法中用户传入的 metainfo 字典;改动频率最高,因为用户可以在实例化数据集时,传入该参数;
类属性 BaseDataset.METAINFO 字典;改动频率中等,因为用户可以改动自定义数据集类中的类属性 BaseDataset.METAINFO;
标注文件中包含的 metainfo 字典;改动频率最低,因为标注文件一般不做改动。
如果三种来源中有相同的字段,优先级最高的来源决定该字段的值;
感觉还不是很清楚,因为这里面只提到了改动频率,只在最后提到了优先级最高,建议显式声明一下 用户传入的字典 > BaseDataset.METAINFO > 标注文件
from mmengine.
Related Issues (20)
- [Feature] Run multiple validation sets during training HOT 2
- [Bug] HOT 2
- [Feature] Save optimizer-related params in the best epoch checkpoint HOT 2
- [Bug] Unable to Inherit Configuration Files Across Repositories
- [Feature] How to Apply SAHI to training? HOT 2
- How to change dataset settings and add optimizer to parameters other than model parameters when using Runner? HOT 1
- [Bug] MMDeepSpeedEngineWrapper bf16 bug HOT 1
- [Feature] Add xFormers to MMEngine
- [Bug] Deepcopy of BaseDataElement seems not working
- activation_checkpointing 导致权重无法更新 HOT 1
- [Bug] `scale_lr()` cannot be called after `ParamScheduler` in DDPStrategy using `FlexibleRunner`. HOT 2
- 'hybrid_parallel' plugin in 'ColossalAIStrategy' is not supported in mmengin-0.10.0 HOT 1
- [Bug] NameError: name 'OptimWrapper' is not defined, when i used mmdeploy in jetson HOT 2
- [Bug] error in readme
- 怎么调用ProfilerHook HOT 1
- [Feature] Serialize data list to torch.Tensor
- [Feature] 保存的pth文件越来越大 HOT 2
- [Bug] Setting EpochBasedTrainLoop.val_begin=0 does not work!
- [Feature] Log metrics to visualizer on test run
- [Bug] TypeError: `logger` should be either a logging.Logger object, str, "silent", "current" or None, but got <class 'list'> HOT 3
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 mmengine.