5454
5555log = logging .getLogger (__name__ )
5656
57- _INTEGRATION_VERSION_KEY = "source_code/integrations/pytorch- lightning"
57+ _INTEGRATION_VERSION_KEY = "source_code/integrations/lightning"
5858
5959# kwargs used in previous NeptuneLogger version, now deprecated
6060_LEGACY_NEPTUNE_INIT_KWARGS = [
@@ -113,7 +113,7 @@ class NeptuneLogger(LightningLoggerBase):
113113
114114 neptune_logger = NeptuneLogger(
115115 api_key="ANONYMOUS", # replace with your own
116- project="common/pytorch- lightning-integration", # format "<WORKSPACE/PROJECT>"
116+ project="common/lightning-integration", # format "<WORKSPACE/PROJECT>"
117117 tags=["training", "resnet"], # optional
118118 )
119119 trainer = Trainer(max_epochs=10, logger=neptune_logger)
@@ -157,7 +157,7 @@ def any_lightning_module_function_or_hook(self):
157157
158158 .. code-block:: python
159159
160- neptune_logger = NeptuneLogger(project="common/pytorch- lightning-integration")
160+ neptune_logger = NeptuneLogger(project="common/lightning-integration")
161161
162162 trainer = pl.Trainer(logger=neptune_logger)
163163 model = ...
@@ -182,7 +182,7 @@ def any_lightning_module_function_or_hook(self):
182182
183183 .. code-block:: python
184184
185- neptune_logger = NeptuneLogger(project="common/pytorch- lightning-integration", log_model_checkpoints=False)
185+ neptune_logger = NeptuneLogger(project="common/lightning-integration", log_model_checkpoints=False)
186186
187187 **Pass additional parameters to the Neptune run**
188188
@@ -194,7 +194,7 @@ def any_lightning_module_function_or_hook(self):
194194 from pytorch_lightning.loggers import NeptuneLogger
195195
196196 neptune_logger = NeptuneLogger(
197- project="common/pytorch- lightning-integration",
197+ project="common/lightning-integration",
198198 name="lightning-run",
199199 description="mlp quick run with pytorch-lightning",
200200 tags=["mlp", "quick-run"],
@@ -216,10 +216,10 @@ def any_lightning_module_function_or_hook(self):
216216 See Also:
217217 - Read about
218218 `what object you can log to Neptune <https://docs.neptune.ai/you-should-know/what-can-you-log-and-display>`_.
219- - Check `example run <https://app.neptune.ai/o/common/org/pytorch- lightning-integration/e/PTL-1/all>`_
219+ - Check `example run <https://app.neptune.ai/o/common/org/lightning-integration/e/PTL-1/all>`_
220220 with multiple types of metadata logged.
221221 - For more detailed info check
222- `user guide <https://docs.neptune.ai/integrations-and-supported-tools/model-training/pytorch- lightning>`_.
222+ `user guide <https://docs.neptune.ai/integrations-and-supported-tools/model-training/lightning>`_.
223223
224224 Args:
225225 api_key: Optional.
@@ -350,7 +350,7 @@ def _verify_input_arguments(
350350 " - https://docs-legacy.neptune.ai/integrations/pytorch_lightning.html\n "
351351 "The NeptuneLogger was re-written to use the neptune.new Python API\n "
352352 " - https://neptune.ai/blog/neptune-new\n "
353- " - https://docs.neptune.ai/integrations-and-supported-tools/model-training/pytorch- lightning\n "
353+ " - https://docs.neptune.ai/integrations-and-supported-tools/model-training/lightning\n "
354354 "You should use arguments accepted by either NeptuneLogger.init() or neptune.init()"
355355 )
356356
@@ -377,7 +377,7 @@ def _verify_input_arguments(
377377 " - https://docs-legacy.neptune.ai/integrations/pytorch_lightning.html\n "
378378 "The NeptuneLogger was re-written to use the neptune.new Python API\n "
379379 " - https://neptune.ai/blog/neptune-new\n "
380- " - https://docs.neptune.ai/integrations-and-supported-tools/model-training/pytorch- lightning\n "
380+ " - https://docs.neptune.ai/integrations-and-supported-tools/model-training/lightning\n "
381381 )
382382
383383 # check if user passed redundant neptune.init arguments when passed run
@@ -477,7 +477,7 @@ def log_hyperparams(self, params: Union[Dict[str, Any], Namespace]) -> None: #
477477
478478 neptune_logger = NeptuneLogger(
479479 api_key="ANONYMOUS",
480- project="common/pytorch- lightning-integration"
480+ project="common/lightning-integration"
481481 )
482482
483483 neptune_logger.log_hyperparams(PARAMS)
@@ -627,7 +627,7 @@ def _signal_deprecated_api_usage(f_name, sample_code, raise_exception=False):
627627 f" - https://docs-legacy.neptune.ai/integrations/pytorch_lightning.html\n "
628628 f"The NeptuneLogger was re-written to use the neptune.new Python API\n "
629629 f" - https://neptune.ai/blog/neptune-new\n "
630- f" - https://docs.neptune.ai/integrations-and-supported-tools/model-training/pytorch- lightning\n "
630+ f" - https://docs.neptune.ai/integrations-and-supported-tools/model-training/lightning\n "
631631 f"Instead of `logger.{ f_name } ` you can use:\n "
632632 f"\t { sample_code } "
633633 )
0 commit comments