diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 12:23:48 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 12:23:48 +0000 |
| commit | 60dcf1b9c925a1eed8a405c6f8d2a437dd7947af (patch) | |
| tree | ec78d03279217cc98a1c3c05e16fab3e506a2fde /python-neptune-client.spec | |
| parent | 01c2a71f3c69bba4f85098104ac2fba3528b75e9 (diff) | |
automatic import of python-neptune-client
Diffstat (limited to 'python-neptune-client.spec')
| -rw-r--r-- | python-neptune-client.spec | 854 |
1 files changed, 854 insertions, 0 deletions
diff --git a/python-neptune-client.spec b/python-neptune-client.spec new file mode 100644 index 0000000..366abf0 --- /dev/null +++ b/python-neptune-client.spec @@ -0,0 +1,854 @@ +%global _empty_manifest_terminate_build 0 +Name: python-neptune-client +Version: 1.1.1 +Release: 1 +Summary: Neptune Client +License: Apache-2.0 +URL: https://neptune.ai/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e3/25/288a2b08ba2896b075a6241bc6dd3a9c9257711d47106ced1a48e552ef75/neptune_client-1.1.1.tar.gz +BuildArch: noarch + +Requires: python3-Faker +Requires: python3-GitPython +Requires: python3-Pillow +Requires: python3-PyJWT +Requires: python3-altair +Requires: python3-bokeh +Requires: python3-boto3 +Requires: python3-bravado +Requires: python3-click +Requires: python3-coverage[toml] +Requires: python3-freezegun +Requires: python3-future +Requires: python3-importlib-metadata +Requires: python3-kedro-neptune +Requires: python3-matplotlib +Requires: python3-mock +Requires: python3-moto[s3] +Requires: python3-munch +Requires: python3-neptune-aws +Requires: python3-neptune-detectron2 +Requires: python3-neptune-fastai +Requires: python3-neptune-lightgbm +Requires: python3-neptune-optuna +Requires: python3-neptune-prophet +Requires: python3-neptune-sacred +Requires: python3-neptune-sklearn +Requires: python3-neptune-tensorflow-keras +Requires: python3-neptune-xgboost +Requires: python3-oauthlib +Requires: python3-optuna +Requires: python3-packaging +Requires: python3-pandas +Requires: python3-plotly +Requires: python3-pre-commit +Requires: python3-psutil +Requires: python3-pytest +Requires: python3-pytest-mock +Requires: python3-pytest-timeout +Requires: python3-pytest-xdist +Requires: python3-pytorch-lightning +Requires: python3-requests +Requires: python3-requests-oauthlib +Requires: python3-scikit-learn +Requires: python3-six +Requires: python3-swagger-spec-validator +Requires: python3-tensorflow +Requires: python3-torch +Requires: python3-torchvision +Requires: python3-transformers +Requires: python3-urllib3 +Requires: python3-vega_datasets +Requires: python3-websocket-client +Requires: python3-zenml + +%description +<div align="center"> + <img src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/github-banner.jpeg" width="1500" /> + + <h1>neptune.ai</h1> +</div> + +<div align="center"> + <a href="https://docs.neptune.ai/usage/quickstart/">Quickstart</a> + <span> • </span> + <a href="https://neptune.ai/">Website</a> + <span> • </span> + <a href="https://docs.neptune.ai/">Docs</a> + <span> • </span> + <a href="https://github.com/neptune-ai/examples">Examples</a> + <span> • </span> + <a href="https://neptune.ai/resources">Resource center</a> + <span> • </span> + <a href="https://neptune.ai/blog">Blog</a> + <span> • </span> + <a href="https://neptune.ai/events">Podcast</a> + + <hr /> +</div> + +## What is neptune.ai? + +neptune.ai makes it easy to log, store, organize, compare, register, and share <b>all your ML model metadata in a single place</b>. + +* Automate and standardize as your modeling team grows. +* Collaborate on models and results with your team and across the org. +* Use hosted, deploy on-premises, or in a private cloud. Integrate with any MLOps stack. + + + +<div align="center"> + <a href="https://youtu.be/mv9jxexmbBk"> + <img border="0" alt="neptune.ai explainer video" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/github-explainer-video.png" width="600"> + </a> +</div> + + + +<a href="https://app.neptune.ai/showcase/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=eccd5adf-42b3-497e-9cc2-9fa2655429b3"><b>Play with a live neptune.ai app →</b></a> + + + +## Getting started + +**Step 1:** Create a **[free account](https://neptune.ai/register)** + +**Step 2:** Install Neptune client library + +```bash +pip install neptune +``` + +**Step 3:** Add experiment tracking snippet to your code + +```python +import neptune + +run = neptune.init_run(project="Me/MyProject") +run["parameters"] = {"lr": 0.1, "dropout": 0.4} +run["test_accuracy"] = 0.84 + +``` + +[](https://colab.research.google.com/github/neptune-ai/examples/blob/master/how-to-guides/hello-neptune/notebooks/hello_neptune.ipynb) + + + +## Core features + +**Log and display** + +Add a snippet to any step of your ML pipeline once. Decide what and how you want to log. Run a million times. + +* <a href="https://docs.neptune.ai/integrations/"><b>Any framework:</b></a> any code, PyTorch, PyTorch Lightning, TensorFlow/Keras, scikit-learn, LightGBM, XGBoost, Optuna, Kedro. + +* <a href="https://docs.neptune.ai/logging/what_you_can_log/"><b>Any metadata type:</b></a> metrics, parameters, dataset and model versions, images, interactive plots, videos, hardware (GPU, CPU, memory), code state. + +* <a href="https://docs.neptune.ai/usage/pipelines/"><b>From anywhere in your ML pipeline:</b></a> multinode pipelines, distributed computing, log during or after execution, log offline, and sync when you are back online. + + + +<div align="center"> + <img border="0" alt="all metadata metrics" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/all-metadata-metrics.gif" width="600"> + </a> +</div> + + + + +**Organize experiments** + +Organize logs in a fully customizable nested structure. Display model metadata in user-defined dashboard templates. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Nested metadata structure:</b></a> flexible API lets you customize the metadata logging structure however you want. Talk to a dictionary at the code level. See the folder structure in the app. Organize nested parameter configs or the results on k-fold validation splits the way they should be. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Custom dashboards:</b></a> combine different metadata types in one view. Define it for one run. Use anywhere. Look at GPU, memory consumption, and load times to debug training speed. See learning curves, image predictions, and confusion matrix to debug model quality. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Table views:</b></a> create different views of the runs table and save them for later. You can have separate table views for debugging, comparing parameter sets, or best experiments. + + + +<div align="center"> + <img border="0" alt="organize dashboards" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/organize-dashboards.gif" width="600"> + </a> +</div> + + + + +**Compare results** + +Visualize training live in the neptune.ai web app. See how different parameters and configs affect the results. Optimize models quicker. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Compare:</b></a> learning curves, parameters, images, datasets. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Search, sort, and filter:</b></a> experiments by any field you logged. Use our query language to filter runs based on parameter values, metrics, execution times, or anything else. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Visualize and display:</b></a> runs table, interactive display, folder structure, dashboards. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Monitor live:</b></a> hardware consumption metrics, GPU, CPU, memory. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Group by:</b></a> dataset versions, parameters. + + + +<div align="center"> + <img border="0" alt="compare, search, filter" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/compare-search-filter.gif" width="600"> + </a> +</div> + + + + +**Register models** + +Version, review, and access production-ready models and metadata associated with them in a single place. + +* <a href="https://docs.neptune.ai/model_registry/registering_model/"><b>Version models:</b></a> register models, create model versions, version external model artifacts. + +* <a href="https://docs.neptune.ai/model_registry/managing_stage/"><b>Review and change stages:</b></a> look at the validation, test metrics and other model metadata. You can move models between None/Staging/Production/Archived. + +* <a href="https://docs.neptune.ai/model_registry/overview/"><b>Access and share models:</b></a> every model and model version is accessible via the neptune.ai web app or through the API. + + + +<div align="center"> + <img border="0" alt="register stages" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/register-stages.gif" width="600"> + </a> +</div> + + + + +**Share results** + +Have a single place where your team can see the results and access all models and experiments. + +* <a href="https://docs.neptune.ai/about/collaboration/"><b>Send a link:</b></a> share every chart, dashboard, table view, or anything else you see in the neptune.ai app by copying and sending persistent URLs. + +* <a href="https://docs.neptune.ai/usage/querying_metadata/"><b>Query API:</b></a> access all model metadata via neptune.ai API. Whatever you logged, you can query in a similar way. + +* <a href="https://neptune.ai/pricing"><b>Manage users and projects:</b></a> create different projects, add users to them, and grant different permissions levels. + +* <a href="https://neptune.ai/pricing"><b>Add your entire org:</b></a> get unlimited users on every paid plan. So you can invite your entire organization, including product managers and subject matter experts at no extra cost. + + + +<div align="center"> + <img border="0" alt="share persistent link" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/share-persistent-link.gif" width="600"> + </a> +</div> + + + +## Integrate with any MLOps stack +neptune.ai integrates with <a href="https://docs.neptune.ai/integrations/"><b>25+ frameworks:</b></a> PyTorch, PyTorch Lightning, TensorFlow/Keras, LightGBM, scikit-learn, XGBoost, Optuna, Kedro, 🤗 Transformers, fastai, Prophet, and more. + +#### <img src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/Pytorch-lightning-logo.png" width="60" /> <br> <br> PyTorch Lightning + +Example: + +```python +from pytorch_lightning import Trainer +from pytorch_lightning.loggers import NeptuneLogger + +# Create NeptuneLogger instance +from neptune import ANONYMOUS_API_TOKEN + +neptune_logger = NeptuneLogger( + api_key=ANONYMOUS_API_TOKEN, + project="common/pytorch-lightning-integration", + tags=["training", "resnet"], # optional +) + +# Pass the logger to the Trainer +trainer = Trainer(max_epochs=10, logger=neptune_logger) + +# Run the Trainer +trainer.fit(my_model, my_dataloader) +``` + +[](https://app.neptune.ai/common/pytorch-lightning-integration/experiments?split=tbl&dash=charts&viewId=faa75e77-5bd6-42b9-9379-863fe7a33227) + + +[](https://github.com/neptune-ai/examples/tree/main/integrations-and-supported-tools/pytorch-lightning/scripts) +[](https://github.com/neptune-ai/examples/blob/main/integrations-and-supported-tools/pytorch-lightning/notebooks/Neptune_PyTorch_Lightning.ipynb) +[](https://colab.research.google.com/github/neptune-ai/examples/blob/main/integrations-and-supported-tools/pytorch-lightning/notebooks/Neptune_PyTorch_Lightning.ipynb) +[<img src="https://img.shields.io/badge/docs-PyTorch%20Lightning-yellow">](https://docs.neptune.ai/integrations/lightning/) + + + +## neptune.ai is trusted by great companies + + +<div align="center"> + <img src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/github-customers.png" width="1500" /> +</div> + + +Read how various customers use Neptune to <a href="https://neptune.ai/customers">improve their workflow</a>. + + + +## Support + +If you get stuck or simply want to talk to us about something, here are your options: +* Check our <a href="https://docs.neptune.ai/getting_help/#frequently-asked-questions">FAQ page</a>. +* Take a look at our <a href="https://neptune.ai/resources">resource center</a>. +* Chat! In the app, click the <a href="https://docs.neptune.ai/getting_help/#chat">blue message icon</a> in the bottom-right corner and send a message. A real person will talk to you ASAP (typically very ASAP). +* You can just shoot us an email at [support@neptune.ai](mailto:support@neptune.ai). + + + +## People behind + +Created with :heart: by the [neptune.ai team](https://neptune.ai/about-us): + +Piotr, Paulina, Chaz, Prince, Parth, Kshitij, Siddhant, Jakub, Patrycja, Dominika, Karolina, Stephen, Artur, Aleksiej, Martyna, Małgorzata, Magdalena, Karolina, Marcin, Michał, Tymoteusz, Rafał, Aleksandra, Sabine, Tomek, Piotr, Adam, Rafał, Hubert, Marcin, Jakub, Paweł, Jakub, Franciszek, Bartosz, Aleksander, Dawid, Patryk, Krzysztof, Aurimas, and [you?](https://neptune.ai/jobs) + + + +%package -n python3-neptune-client +Summary: Neptune Client +Provides: python-neptune-client +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-neptune-client +<div align="center"> + <img src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/github-banner.jpeg" width="1500" /> + + <h1>neptune.ai</h1> +</div> + +<div align="center"> + <a href="https://docs.neptune.ai/usage/quickstart/">Quickstart</a> + <span> • </span> + <a href="https://neptune.ai/">Website</a> + <span> • </span> + <a href="https://docs.neptune.ai/">Docs</a> + <span> • </span> + <a href="https://github.com/neptune-ai/examples">Examples</a> + <span> • </span> + <a href="https://neptune.ai/resources">Resource center</a> + <span> • </span> + <a href="https://neptune.ai/blog">Blog</a> + <span> • </span> + <a href="https://neptune.ai/events">Podcast</a> + + <hr /> +</div> + +## What is neptune.ai? + +neptune.ai makes it easy to log, store, organize, compare, register, and share <b>all your ML model metadata in a single place</b>. + +* Automate and standardize as your modeling team grows. +* Collaborate on models and results with your team and across the org. +* Use hosted, deploy on-premises, or in a private cloud. Integrate with any MLOps stack. + + + +<div align="center"> + <a href="https://youtu.be/mv9jxexmbBk"> + <img border="0" alt="neptune.ai explainer video" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/github-explainer-video.png" width="600"> + </a> +</div> + + + +<a href="https://app.neptune.ai/showcase/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=eccd5adf-42b3-497e-9cc2-9fa2655429b3"><b>Play with a live neptune.ai app →</b></a> + + + +## Getting started + +**Step 1:** Create a **[free account](https://neptune.ai/register)** + +**Step 2:** Install Neptune client library + +```bash +pip install neptune +``` + +**Step 3:** Add experiment tracking snippet to your code + +```python +import neptune + +run = neptune.init_run(project="Me/MyProject") +run["parameters"] = {"lr": 0.1, "dropout": 0.4} +run["test_accuracy"] = 0.84 + +``` + +[](https://colab.research.google.com/github/neptune-ai/examples/blob/master/how-to-guides/hello-neptune/notebooks/hello_neptune.ipynb) + + + +## Core features + +**Log and display** + +Add a snippet to any step of your ML pipeline once. Decide what and how you want to log. Run a million times. + +* <a href="https://docs.neptune.ai/integrations/"><b>Any framework:</b></a> any code, PyTorch, PyTorch Lightning, TensorFlow/Keras, scikit-learn, LightGBM, XGBoost, Optuna, Kedro. + +* <a href="https://docs.neptune.ai/logging/what_you_can_log/"><b>Any metadata type:</b></a> metrics, parameters, dataset and model versions, images, interactive plots, videos, hardware (GPU, CPU, memory), code state. + +* <a href="https://docs.neptune.ai/usage/pipelines/"><b>From anywhere in your ML pipeline:</b></a> multinode pipelines, distributed computing, log during or after execution, log offline, and sync when you are back online. + + + +<div align="center"> + <img border="0" alt="all metadata metrics" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/all-metadata-metrics.gif" width="600"> + </a> +</div> + + + + +**Organize experiments** + +Organize logs in a fully customizable nested structure. Display model metadata in user-defined dashboard templates. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Nested metadata structure:</b></a> flexible API lets you customize the metadata logging structure however you want. Talk to a dictionary at the code level. See the folder structure in the app. Organize nested parameter configs or the results on k-fold validation splits the way they should be. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Custom dashboards:</b></a> combine different metadata types in one view. Define it for one run. Use anywhere. Look at GPU, memory consumption, and load times to debug training speed. See learning curves, image predictions, and confusion matrix to debug model quality. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Table views:</b></a> create different views of the runs table and save them for later. You can have separate table views for debugging, comparing parameter sets, or best experiments. + + + +<div align="center"> + <img border="0" alt="organize dashboards" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/organize-dashboards.gif" width="600"> + </a> +</div> + + + + +**Compare results** + +Visualize training live in the neptune.ai web app. See how different parameters and configs affect the results. Optimize models quicker. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Compare:</b></a> learning curves, parameters, images, datasets. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Search, sort, and filter:</b></a> experiments by any field you logged. Use our query language to filter runs based on parameter values, metrics, execution times, or anything else. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Visualize and display:</b></a> runs table, interactive display, folder structure, dashboards. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Monitor live:</b></a> hardware consumption metrics, GPU, CPU, memory. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Group by:</b></a> dataset versions, parameters. + + + +<div align="center"> + <img border="0" alt="compare, search, filter" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/compare-search-filter.gif" width="600"> + </a> +</div> + + + + +**Register models** + +Version, review, and access production-ready models and metadata associated with them in a single place. + +* <a href="https://docs.neptune.ai/model_registry/registering_model/"><b>Version models:</b></a> register models, create model versions, version external model artifacts. + +* <a href="https://docs.neptune.ai/model_registry/managing_stage/"><b>Review and change stages:</b></a> look at the validation, test metrics and other model metadata. You can move models between None/Staging/Production/Archived. + +* <a href="https://docs.neptune.ai/model_registry/overview/"><b>Access and share models:</b></a> every model and model version is accessible via the neptune.ai web app or through the API. + + + +<div align="center"> + <img border="0" alt="register stages" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/register-stages.gif" width="600"> + </a> +</div> + + + + +**Share results** + +Have a single place where your team can see the results and access all models and experiments. + +* <a href="https://docs.neptune.ai/about/collaboration/"><b>Send a link:</b></a> share every chart, dashboard, table view, or anything else you see in the neptune.ai app by copying and sending persistent URLs. + +* <a href="https://docs.neptune.ai/usage/querying_metadata/"><b>Query API:</b></a> access all model metadata via neptune.ai API. Whatever you logged, you can query in a similar way. + +* <a href="https://neptune.ai/pricing"><b>Manage users and projects:</b></a> create different projects, add users to them, and grant different permissions levels. + +* <a href="https://neptune.ai/pricing"><b>Add your entire org:</b></a> get unlimited users on every paid plan. So you can invite your entire organization, including product managers and subject matter experts at no extra cost. + + + +<div align="center"> + <img border="0" alt="share persistent link" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/share-persistent-link.gif" width="600"> + </a> +</div> + + + +## Integrate with any MLOps stack +neptune.ai integrates with <a href="https://docs.neptune.ai/integrations/"><b>25+ frameworks:</b></a> PyTorch, PyTorch Lightning, TensorFlow/Keras, LightGBM, scikit-learn, XGBoost, Optuna, Kedro, 🤗 Transformers, fastai, Prophet, and more. + +#### <img src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/Pytorch-lightning-logo.png" width="60" /> <br> <br> PyTorch Lightning + +Example: + +```python +from pytorch_lightning import Trainer +from pytorch_lightning.loggers import NeptuneLogger + +# Create NeptuneLogger instance +from neptune import ANONYMOUS_API_TOKEN + +neptune_logger = NeptuneLogger( + api_key=ANONYMOUS_API_TOKEN, + project="common/pytorch-lightning-integration", + tags=["training", "resnet"], # optional +) + +# Pass the logger to the Trainer +trainer = Trainer(max_epochs=10, logger=neptune_logger) + +# Run the Trainer +trainer.fit(my_model, my_dataloader) +``` + +[](https://app.neptune.ai/common/pytorch-lightning-integration/experiments?split=tbl&dash=charts&viewId=faa75e77-5bd6-42b9-9379-863fe7a33227) + + +[](https://github.com/neptune-ai/examples/tree/main/integrations-and-supported-tools/pytorch-lightning/scripts) +[](https://github.com/neptune-ai/examples/blob/main/integrations-and-supported-tools/pytorch-lightning/notebooks/Neptune_PyTorch_Lightning.ipynb) +[](https://colab.research.google.com/github/neptune-ai/examples/blob/main/integrations-and-supported-tools/pytorch-lightning/notebooks/Neptune_PyTorch_Lightning.ipynb) +[<img src="https://img.shields.io/badge/docs-PyTorch%20Lightning-yellow">](https://docs.neptune.ai/integrations/lightning/) + + + +## neptune.ai is trusted by great companies + + +<div align="center"> + <img src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/github-customers.png" width="1500" /> +</div> + + +Read how various customers use Neptune to <a href="https://neptune.ai/customers">improve their workflow</a>. + + + +## Support + +If you get stuck or simply want to talk to us about something, here are your options: +* Check our <a href="https://docs.neptune.ai/getting_help/#frequently-asked-questions">FAQ page</a>. +* Take a look at our <a href="https://neptune.ai/resources">resource center</a>. +* Chat! In the app, click the <a href="https://docs.neptune.ai/getting_help/#chat">blue message icon</a> in the bottom-right corner and send a message. A real person will talk to you ASAP (typically very ASAP). +* You can just shoot us an email at [support@neptune.ai](mailto:support@neptune.ai). + + + +## People behind + +Created with :heart: by the [neptune.ai team](https://neptune.ai/about-us): + +Piotr, Paulina, Chaz, Prince, Parth, Kshitij, Siddhant, Jakub, Patrycja, Dominika, Karolina, Stephen, Artur, Aleksiej, Martyna, Małgorzata, Magdalena, Karolina, Marcin, Michał, Tymoteusz, Rafał, Aleksandra, Sabine, Tomek, Piotr, Adam, Rafał, Hubert, Marcin, Jakub, Paweł, Jakub, Franciszek, Bartosz, Aleksander, Dawid, Patryk, Krzysztof, Aurimas, and [you?](https://neptune.ai/jobs) + + + +%package help +Summary: Development documents and examples for neptune-client +Provides: python3-neptune-client-doc +%description help +<div align="center"> + <img src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/github-banner.jpeg" width="1500" /> + + <h1>neptune.ai</h1> +</div> + +<div align="center"> + <a href="https://docs.neptune.ai/usage/quickstart/">Quickstart</a> + <span> • </span> + <a href="https://neptune.ai/">Website</a> + <span> • </span> + <a href="https://docs.neptune.ai/">Docs</a> + <span> • </span> + <a href="https://github.com/neptune-ai/examples">Examples</a> + <span> • </span> + <a href="https://neptune.ai/resources">Resource center</a> + <span> • </span> + <a href="https://neptune.ai/blog">Blog</a> + <span> • </span> + <a href="https://neptune.ai/events">Podcast</a> + + <hr /> +</div> + +## What is neptune.ai? + +neptune.ai makes it easy to log, store, organize, compare, register, and share <b>all your ML model metadata in a single place</b>. + +* Automate and standardize as your modeling team grows. +* Collaborate on models and results with your team and across the org. +* Use hosted, deploy on-premises, or in a private cloud. Integrate with any MLOps stack. + + + +<div align="center"> + <a href="https://youtu.be/mv9jxexmbBk"> + <img border="0" alt="neptune.ai explainer video" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/github-explainer-video.png" width="600"> + </a> +</div> + + + +<a href="https://app.neptune.ai/showcase/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=eccd5adf-42b3-497e-9cc2-9fa2655429b3"><b>Play with a live neptune.ai app →</b></a> + + + +## Getting started + +**Step 1:** Create a **[free account](https://neptune.ai/register)** + +**Step 2:** Install Neptune client library + +```bash +pip install neptune +``` + +**Step 3:** Add experiment tracking snippet to your code + +```python +import neptune + +run = neptune.init_run(project="Me/MyProject") +run["parameters"] = {"lr": 0.1, "dropout": 0.4} +run["test_accuracy"] = 0.84 + +``` + +[](https://colab.research.google.com/github/neptune-ai/examples/blob/master/how-to-guides/hello-neptune/notebooks/hello_neptune.ipynb) + + + +## Core features + +**Log and display** + +Add a snippet to any step of your ML pipeline once. Decide what and how you want to log. Run a million times. + +* <a href="https://docs.neptune.ai/integrations/"><b>Any framework:</b></a> any code, PyTorch, PyTorch Lightning, TensorFlow/Keras, scikit-learn, LightGBM, XGBoost, Optuna, Kedro. + +* <a href="https://docs.neptune.ai/logging/what_you_can_log/"><b>Any metadata type:</b></a> metrics, parameters, dataset and model versions, images, interactive plots, videos, hardware (GPU, CPU, memory), code state. + +* <a href="https://docs.neptune.ai/usage/pipelines/"><b>From anywhere in your ML pipeline:</b></a> multinode pipelines, distributed computing, log during or after execution, log offline, and sync when you are back online. + + + +<div align="center"> + <img border="0" alt="all metadata metrics" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/all-metadata-metrics.gif" width="600"> + </a> +</div> + + + + +**Organize experiments** + +Organize logs in a fully customizable nested structure. Display model metadata in user-defined dashboard templates. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Nested metadata structure:</b></a> flexible API lets you customize the metadata logging structure however you want. Talk to a dictionary at the code level. See the folder structure in the app. Organize nested parameter configs or the results on k-fold validation splits the way they should be. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Custom dashboards:</b></a> combine different metadata types in one view. Define it for one run. Use anywhere. Look at GPU, memory consumption, and load times to debug training speed. See learning curves, image predictions, and confusion matrix to debug model quality. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Table views:</b></a> create different views of the runs table and save them for later. You can have separate table views for debugging, comparing parameter sets, or best experiments. + + + +<div align="center"> + <img border="0" alt="organize dashboards" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/organize-dashboards.gif" width="600"> + </a> +</div> + + + + +**Compare results** + +Visualize training live in the neptune.ai web app. See how different parameters and configs affect the results. Optimize models quicker. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Compare:</b></a> learning curves, parameters, images, datasets. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Search, sort, and filter:</b></a> experiments by any field you logged. Use our query language to filter runs based on parameter values, metrics, execution times, or anything else. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Visualize and display:</b></a> runs table, interactive display, folder structure, dashboards. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Monitor live:</b></a> hardware consumption metrics, GPU, CPU, memory. + +* <a href="https://app.neptune.ai/o/showcase/org/example-project-tensorflow-keras/experiments?split=tbl&dash=charts&viewId=4a21e7e9-abab-4f9f-8723-41f5ae4f71e8&product_tour_id=314370"><b>Group by:</b></a> dataset versions, parameters. + + + +<div align="center"> + <img border="0" alt="compare, search, filter" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/compare-search-filter.gif" width="600"> + </a> +</div> + + + + +**Register models** + +Version, review, and access production-ready models and metadata associated with them in a single place. + +* <a href="https://docs.neptune.ai/model_registry/registering_model/"><b>Version models:</b></a> register models, create model versions, version external model artifacts. + +* <a href="https://docs.neptune.ai/model_registry/managing_stage/"><b>Review and change stages:</b></a> look at the validation, test metrics and other model metadata. You can move models between None/Staging/Production/Archived. + +* <a href="https://docs.neptune.ai/model_registry/overview/"><b>Access and share models:</b></a> every model and model version is accessible via the neptune.ai web app or through the API. + + + +<div align="center"> + <img border="0" alt="register stages" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/register-stages.gif" width="600"> + </a> +</div> + + + + +**Share results** + +Have a single place where your team can see the results and access all models and experiments. + +* <a href="https://docs.neptune.ai/about/collaboration/"><b>Send a link:</b></a> share every chart, dashboard, table view, or anything else you see in the neptune.ai app by copying and sending persistent URLs. + +* <a href="https://docs.neptune.ai/usage/querying_metadata/"><b>Query API:</b></a> access all model metadata via neptune.ai API. Whatever you logged, you can query in a similar way. + +* <a href="https://neptune.ai/pricing"><b>Manage users and projects:</b></a> create different projects, add users to them, and grant different permissions levels. + +* <a href="https://neptune.ai/pricing"><b>Add your entire org:</b></a> get unlimited users on every paid plan. So you can invite your entire organization, including product managers and subject matter experts at no extra cost. + + + +<div align="center"> + <img border="0" alt="share persistent link" src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/share-persistent-link.gif" width="600"> + </a> +</div> + + + +## Integrate with any MLOps stack +neptune.ai integrates with <a href="https://docs.neptune.ai/integrations/"><b>25+ frameworks:</b></a> PyTorch, PyTorch Lightning, TensorFlow/Keras, LightGBM, scikit-learn, XGBoost, Optuna, Kedro, 🤗 Transformers, fastai, Prophet, and more. + +#### <img src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/Pytorch-lightning-logo.png" width="60" /> <br> <br> PyTorch Lightning + +Example: + +```python +from pytorch_lightning import Trainer +from pytorch_lightning.loggers import NeptuneLogger + +# Create NeptuneLogger instance +from neptune import ANONYMOUS_API_TOKEN + +neptune_logger = NeptuneLogger( + api_key=ANONYMOUS_API_TOKEN, + project="common/pytorch-lightning-integration", + tags=["training", "resnet"], # optional +) + +# Pass the logger to the Trainer +trainer = Trainer(max_epochs=10, logger=neptune_logger) + +# Run the Trainer +trainer.fit(my_model, my_dataloader) +``` + +[](https://app.neptune.ai/common/pytorch-lightning-integration/experiments?split=tbl&dash=charts&viewId=faa75e77-5bd6-42b9-9379-863fe7a33227) + + +[](https://github.com/neptune-ai/examples/tree/main/integrations-and-supported-tools/pytorch-lightning/scripts) +[](https://github.com/neptune-ai/examples/blob/main/integrations-and-supported-tools/pytorch-lightning/notebooks/Neptune_PyTorch_Lightning.ipynb) +[](https://colab.research.google.com/github/neptune-ai/examples/blob/main/integrations-and-supported-tools/pytorch-lightning/notebooks/Neptune_PyTorch_Lightning.ipynb) +[<img src="https://img.shields.io/badge/docs-PyTorch%20Lightning-yellow">](https://docs.neptune.ai/integrations/lightning/) + + + +## neptune.ai is trusted by great companies + + +<div align="center"> + <img src="https://raw.githubusercontent.com/neptune-ai/neptune-client/assets/readme/github-customers.png" width="1500" /> +</div> + + +Read how various customers use Neptune to <a href="https://neptune.ai/customers">improve their workflow</a>. + + + +## Support + +If you get stuck or simply want to talk to us about something, here are your options: +* Check our <a href="https://docs.neptune.ai/getting_help/#frequently-asked-questions">FAQ page</a>. +* Take a look at our <a href="https://neptune.ai/resources">resource center</a>. +* Chat! In the app, click the <a href="https://docs.neptune.ai/getting_help/#chat">blue message icon</a> in the bottom-right corner and send a message. A real person will talk to you ASAP (typically very ASAP). +* You can just shoot us an email at [support@neptune.ai](mailto:support@neptune.ai). + + + +## People behind + +Created with :heart: by the [neptune.ai team](https://neptune.ai/about-us): + +Piotr, Paulina, Chaz, Prince, Parth, Kshitij, Siddhant, Jakub, Patrycja, Dominika, Karolina, Stephen, Artur, Aleksiej, Martyna, Małgorzata, Magdalena, Karolina, Marcin, Michał, Tymoteusz, Rafał, Aleksandra, Sabine, Tomek, Piotr, Adam, Rafał, Hubert, Marcin, Jakub, Paweł, Jakub, Franciszek, Bartosz, Aleksander, Dawid, Patryk, Krzysztof, Aurimas, and [you?](https://neptune.ai/jobs) + + + +%prep +%autosetup -n neptune-client-1.1.1 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-neptune-client -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.1-1 +- Package Spec generated |
