Shortcuts

BaseLoop

class mmengine.runner.BaseLoop(runner, dataloader)[source]

Base loop class.

All subclasses inherited from BaseLoop should overwrite the run() method.

Parameters
  • runner (Runner) – A reference of runner.

  • dataloader (Dataloader or dict) – An iterator to generate one batch of dataset each iteration.

Return type

None

abstract run()[source]

Execute loop.

Return type

Any

Read the Docs v: v0.5.0
Versions
latest
stable
v0.5.0
v0.4.0
v0.3.0
v0.2.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.