Azure / Azure/MachineLearningNotebooks
【error:total snapshot size exceeds】tutorial-1st-experiment-sdk-train.ipynb
- Dominant language
- Jupyter Notebook
- Stars
- 4.4k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
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."
}
}
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.