Skip to main content

My awesome package

Project description

学习率调度器

  1. LambdaLR:将每个参数组的学习率设置为初始学习率乘以一个给定函数的值。

    参数:lr_lambda(函数或列表):一个函数,它根据整数参数 epoch 计算一个乘法因子,或者是一个这样的函数列表,其中每个函数对应优化器 optimizer.param_groups 中的一个组。

  2. MultiplicativeLR:将每个参数组的学习率乘以指定函数中给出的因子。

    参数:lr_lambda(函数或列表):一个函数,它根据整数参数 epoch 计算一个乘法因子,或者是一个这样的函数列表,其中每个函数对应优化器 optimizer.param_groups 中的一个组。

  3. StepLR:每经过 step_size 个周期,就将每个参数组的学习率按照 gamma 的比例衰减。请注意,这种衰减可以与来自该调度器外部的其他对学习率的变化同时发生。

    参数:step_size(整数):学习率衰减的周期。 gamma(浮点数):学习率衰减的乘法因子。

  4. MultiStepLR:当训练周期(epoch)达到某个里程碑时,每个参数组的学习率会按 gamma 因子进行衰减。请注意,这种衰减可以与来自外部调度器的其他学习率变化同时发生。

    参数:milestones(列表):训练周期索引的列表,要求必须是递增的。 gamma(浮点数):学习率衰减时所使用的乘法因子。

  5. ConstantLR:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yms_faster_rcnn-0.1.6.tar.gz (520.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yms_faster_rcnn-0.1.6-py3-none-any.whl (556.7 kB view details)

Uploaded Python 3

File details

Details for the file yms_faster_rcnn-0.1.6.tar.gz.

File metadata

  • Download URL: yms_faster_rcnn-0.1.6.tar.gz
  • Upload date:
  • Size: 520.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for yms_faster_rcnn-0.1.6.tar.gz
Algorithm Hash digest
SHA256 8484f165c9e160b68aeeca03c963b77bdd5a615f75391a252942cd4bea90899c
MD5 eb2e4aebf17aaf3e614450f1272b4812
BLAKE2b-256 ac327a02ff1ce7e542c7df8e423ea6b17da5746312f94c99067b1cbc77de7c56

See more details on using hashes here.

File details

Details for the file yms_faster_rcnn-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for yms_faster_rcnn-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1d9a48fbd530d331b5e89f5dba23b507130fd56f6d39c046ec4f1d3cf6e2aadd
MD5 74b9a411e33b9ed4d694b2283b9d6dab
BLAKE2b-256 6f14e1bc724154fae58388b096ed6031c68fb3feb9eac6462c8fdecf0a84b343

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page