Azure / Azure/MachineLearningNotebooks

【error:total snapshot size exceeds】tutorial-1st-experiment-sdk-train.ipynb

Offen
#1,611 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
4.4k
Forks
2.6k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I get an error when running tutorial-1st-experiment-sdk-train.ipynb.

---------------------------------------------------------------------------
SnapshotException Traceback (most recent call last)
/anaconda/envs/azureml_py36/lib/python3.6/site-packages/azureml/core/run.py in _start_logging(experiment, name, run_id, outputs, snapshot_directory, **kwargs)
591 try:
--> 592 run.take_snapshot(snapshot_directory)
593 except SnapshotException as snapshot_ex:

/anaconda/envs/azureml_py36/lib/python3.6/site-packages/azureml/core/run.py in take_snapshot(self, file_or_folder_path)
2168 """
-> 2169 return self._client.take_snapshot(file_or_folder_path)
2170

/anaconda/envs/azureml_py36/lib/python3.6/site-packages/azureml/_run_impl/run_history_facade.py in take_snapshot(self, file_or_folder_path, _raise_on_validation_failure)
705 file_or_folder_path,
--> 706 raise_on_validation_failure=_raise_on_validation_failure)
707

/anaconda/envs/azureml_py36/lib/python3.6/site-packages/azureml/_restclient/snapshots_client.py in create_snapshot(self, file_or_folder_path, retry_on_failure, raise_on_validation_failure)
85
---> 86 self._validate_snapshot_size(file_or_folder_path, exclude_function, raise_on_validation_failure)
87

/anaconda/envs/azureml_py36/lib/python3.6/site-packages/azureml/_restclient/snapshots_client.py in _validate_snapshot_size(self, file_or_folder_path, exclude_function, raise_on_validation_failure)
63 if raise_on_validation_failure:
---> 64 raise SnapshotException(error_message)
65 else:

SnapshotException: SnapshotException:
Message: ====================================================================

While attempting to take snapshot of .
Your total snapshot size exceeds the limit of 300.0 MB.
Please see http://aka.ms/aml-largefiles on how to work with large files.

====================================================================

InnerException None
ErrorResponse
{
"error": {
"message": "====================================================================\n\nWhile attempting to take snapshot of .\nYour total snapshot size exceeds the limit of 300.0 MB.\nPlease see http://aka.ms/aml-largefiles on how to work with large files.\n\n====================================================================\n\n"
}
}

The above exception was the direct cause of the following exception:

SnapshotException Traceback (most recent call last)
in
8
9 for alpha in alphas:
---> 10 run = experiment.start_logging()
11 run.log("alpha_value", alpha)
12

/anaconda/envs/azureml_py36/lib/python3.6/site-packages/azureml/_jupyter_common/__init__.py in start_logging(self, *args, **kwargs)
92 def _experiment_start_logging_decorator(original_star_logging):
93 def start_logging(self, *args, **kwargs):
---> 94 run = original_star_logging(self, *args, **kwargs)
95 _update_run_created_from(run)
96 return run

/anaconda/envs/azureml_py36/lib/python3.6/site-packages/azureml/core/experiment.py in start_logging(self, *args, **kwargs)
259 """
260 from azureml.core.run import Run
--> 261 return Run._start_logging(self, *args, _parent_logger=self._logger, **kwargs)
262
263 @_check_for_experiment_id

/anaconda/envs/azureml_py36/lib/python3.6/site-packages/azureml/core/run.py in _start_logging(experiment, name, run_id, outputs, snapshot_directory, **kwargs)
594 error_msg = "Failed to take a snapshot of {}. Pass snapshot_directory=None to start_logging " \
595 "to skip taking a snapshot of the given directory.".format(snapshot_directory)
--> 596 raise_from(SnapshotException(error_msg), snapshot_ex)
597 return run
598

/anaconda/envs/azureml_py36/lib/python3.6/site-packages/six.py in raise_from(value, from_value)

SnapshotException: SnapshotException:
Message: Failed to take a snapshot of .. Pass snapshot_directory=None to start_logging to skip taking a snapshot of the given directory.
InnerException None
ErrorResponse
{
"error": {
"message": "Failed to take a snapshot of .. Pass snapshot_directory=None to start_logging to skip taking a snapshot of the given directory."
}
}

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit tutorial-1st-experiment-sdk-train.ipynb und reproduziere den Fehler bei experiment.start_logging(). Überprüfe die Snapshot-Behandlung des Notebooks und die verlinkten Hinweise zu großen Dateien; erledigt ist die Aufgabe, wenn das Tutorial ausgeführt werden kann, ohne das 300-MB-Snapshot-Limit zu überschreiten, und das erforderliche Verhalten dokumentiert oder korrigiert ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure, jupyter-notebook, python
Bereich
machine-learning
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.