Skip to main content

ZC proxies calculation repo, altered from foresight package.

Project description

zero-cost-proxies

Independent ZC proxies only for testing on it.

Modified and simplified from foresight repo, fix some bugs in model output, remove some unwanted code snippets.

Supported zc-metrics are:

grad_norm,
grasp,
snip,
synflow,
nwot, (NASWOT)
lnwot, (Layerwise NASWOT)

1. Tests

ImageNet16-120 cannot be automatically downloaded. Using script under scripts/download_data.sh to download:

source scripts/download_data.sh nb201 ImageNet16-120
# do not use `bash`, use `source` instead

2. Versions

  • V1.0.6
    add naswot, lnwot into mats
  • V1.0.4
    fix bugs in calculation, add more test codes.
  • V1.0.3
    add shortcuts to import directly from package root directory.

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

alethiometer-1.0.5.tar.gz (17.8 kB view hashes)

Uploaded Source

Built Distribution

alethiometer-1.0.5-py2.py3-none-any.whl (20.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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