qianyu-dlut / MVANet

MIT License
109 stars 11 forks source link

Removing OpenMMLab dependencies #8

Open igm503 opened 4 months ago

igm503 commented 4 months ago

Any chance you'd be open to removing the openmmlab dependencies for this repository? It's a pretty hefty set of dependencies, and from what I can tell, the only thing all those libraries are used for is a logger class that is then used to log the timm library's load_checkpoint function.

I'd be happy to replace that logger with another without dependencies and submit a pull request if you're open to it. It would make using your project much simpler!

Downchuck commented 2 months ago
import logging

def get_root_logger(name, log_file=None, log_level=logging.INFO, file_mode='w'):
    logger = logging.getLogger(name)
    return logger                                                                     

mmlab also more or less got rid of that logger in their current utils.