![pre-commit-ci[bot]](/assets/img/avatar_default.png) Shayan Mousaviniaandpre-commit-ci[bot]
|
66edf38933
|
improving evolve (#11348)
* improving evole in train.py
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix gen_ranges value in mutation part.
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* fix invalid syntax in line 532
remove on tab from "else"
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update train.py
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* Update train.py
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* fix range index
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* Update train.py
fix population size
add crossover min and max rate
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* update comments
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* save population for last generation
The latest version incorporates a significant update whereby all hyper parameters are now stored in the population section of "evolve_population.yaml," located in "yolov5\data\hyps," following the transition to the new generation. This development allows for the continuation of a previously abandoned evolution process by utilizing the former population. Additionally, a new argument, "--evolve_population," has been introduced to enable the relocation of the manual "evolve_population.yaml" to any project directory to load for the aforementioned purpose. This enhancement offers greater flexibility and convenience to the users, making it easier for them to resume their evolutionary process.
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update train.py
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* remove try - except
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update train.py
Add resume resume_evolve arg for **resume evolve from last generation**.
Population will load from data/hyp by default and load all yaml file form them.
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update train.py
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* Update train.py
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* Update train.py
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update train.py
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* Update train.py
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* Update README.zh-CN.md
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
* Update train.py
update pop_size
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
---------
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-01-03 08:12:46 +01:00 |
|