SysCV / vis4d

A modular library for visual 4D scene understanding
https://docs.vis.xyz/4d/index.html
Apache License 2.0
18 stars 2 forks source link

Config Refactor #95

Closed RoyYang0714 closed 1 year ago

RoyYang0714 commented 1 year ago

This PR aims to make the config more user-friendly for the release.

Config

Loss Module

Data Connector

Callbacks

Dataset

Visualize module:

Optim module

Bug Fix

tobiasfshr commented 1 year ago

Callback base class does not need every_n_epochs or num_epochs, the trainer should decide, e.g. when to run the validation loop. Currently, the validation loop could be executed without running the evaluator after. Hence I'd propose moving the every_n_epochs to the trainer as in PL. For callbacks that should only be run occasionally, this could be implemented in the specific callback (e.g. visualizer) instead of the base class.

RoyYang0714 commented 1 year ago
renezurbruegg commented 1 year ago

Also, we should rename class_config to class_cfg or similar

renezurbruegg commented 1 year ago

Should we rename the class_config in this PR? We should also create the required PRs or add it to the roadmap for the minor missing things.

Other than that LGTM :)

RoyYang0714 commented 1 year ago

Should we rename the class_config in this PR? We should also create the required PRs or add it to the roadmap for the minor missing things.

Other than that LGTM :)

I think we will have an Abbrivation PR to rename many things. Maybe let's do it there?