Comments (5)
Great :) Sorry to add yet another point to this, but one thing to keep in mind for future PRs would be to ensure the compatibility with the distributed slurm launcher.
Currently I added new import lines in my version of run_distributed_engines.py
which takes care of the registration. However when using the slurm launcher, launch_distributed
from vissl/utils/distributed_launcher.py
is called, which bypasses these imports. An easy hack for now is to modify distributed_launcher.py
. In a perfect world if users could avoid modifying internal files usability would be even better.
Thanks again for the great support!
from vissl.
Hi @pclucas14 , the new components can be registered by importing registeries of vissl https://github.com/facebookresearch/vissl/blob/master/vissl/trainer/train_steps/__init__.py#L19 for example importing this function. However, the current VISSL packages don't expose the register functions in __all__
method. But we welcome contributions :) In the next VISSL release in few weeks, we will look into incorporating this feature request :)
from vissl.
ok great :) thanks for the heads up
from vissl.
Along similar lines, is it possible to add new hooks without modifying the hook init file ?
from vissl.
yep! we will open all the register functions along with the ones mentioned here! :)
from vissl.
Related Issues (20)
- Example of using ZeRO and LARC
- Incosistent results when running inference on trained resnet model HOT 1
- Low performance of Supervised training
- MLP_DIM in ViT is not adjustable through the config. HOT 2
- [Feature] Online linear probing
- Linear Image classification weights not loading properly: vissl pretrained models simclr or Dcv2 HOT 3
- "on_forward"-hook operations and back-propagation
- EMA does not work on fp16 and does not copy weights?
- First-class support for timm models
- Can't load pretrained seer/swav checkpoints (RG_Y_128GF) HOT 1
- Is it possible to get full imagenet pretrained weights of MoCo v2 ? HOT 2
- NPID + MoCoV2 weights are the same? HOT 1
- Potential confusion over licensing comment
- Does the MoCo implementation do shuffled Batch Norm when run on a single GPU? HOT 3
- Loading TRAINED models with VISSL HOT 9
- Use pretrain outside of vissl
- can someone share/has anyone shared a checkpoint ( with the class head) of a ssl model on imagenet?
- What config relate to learning rate warm up, weight decay, and momentum in 1 node n GPUs (n > 1 && n < 8) config?
- AttributeError: module 'importlib_resources' has no attribute 'is_resource'
- all vissl.ai/tutorials links broken
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 vissl.