facebookresearch / facebookresearch/SlowFast

Looking for code at the moment when the 'model' meet 'torch.nn.Module`

Open
#404 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

https://github.com/facebookresearch/SlowFast/blob/10651bcb6c20fca71ebdff803f803203d251f95c/slowfast/models/build.py#L37

I'm looking for code at the moment when the 'model' meet "torch.nn.Module".
Quite shy for asking this, but I'm reading all code to catch up the flow from run_net.py for study.
`model = MODEL_REGISTRY.get(name)(cfg)`

When does 'torch.nn.Module. appears?
I'm crosschecking code fvcore/common/registry.py, but I can't find it.
Can you help me to understand?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.