Open igm503 opened 3 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.
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!