Skip to content

implementation of paper - You Only Learn One Representation: Unified Network for Multiple Tasks (https://arxiv.org/abs/2105.04206)

License

Notifications You must be signed in to change notification settings

mim-solutions/yolor

 
 

Repository files navigation

YOLOR

This fork is just a packaged version of github.com/WongKinYiu/yolor (which is the implementation of the paper You Only Learn One Representation: Unified Network for Multiple Tasks)

Install using pip install git+https://github.com/marcinwrochna/yolor.git

Usage:

from yolor_mimsolutions.models.models import Darknet
from yolor_mimsolutions.utils.datasets import letterbox
...

The scripts can be run from the module as well, for example:

python -m yolor_mimsolutions train --batch-size 32 \
                                   --img 960 960 \
                                   --name ${RUN_NAME} \
                                   --data ${DATASET}/dataset_config.yaml \
                                   --cfg yolor_p6.cfg \
                                   --hyp hyp.scratch.1280.yaml \
                                   --weights '' \
                                   --device 7 \
                                   --epochs 300

Files like yolor_p6.cfg or hyp.scratch.1280.yaml are then retrieved from inside the package (or you can provide your own).

Modifying

After modifying the repo, you might need to rebuild it (I'm actually not sure):

rm -rf yolor_mimsolutions.egg-info/ dist/
python -m build 
git add dist

About

implementation of paper - You Only Learn One Representation: Unified Network for Multiple Tasks (https://arxiv.org/abs/2105.04206)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.4%
  • Shell 0.6%