amazon-sagemaker-examples
amazon-sagemaker-examples copied to clipboard
insufficient Disk space error in p3.8xlarge.
I am facing insufficient diskspace error when I execute the code even though I have used Volume_size = 250
from sagemaker.tensorflow import TensorFlow
volume_size=200,
model_path = f"s3://{sagemaker_session.default_bucket()}/Report"
tf_estimator = TensorFlow( entry_point='yolo_object_detection_train_with_fixed.py', role=role, instance_count=1, instance_type='ml.p3.8xlarge', framework_version='2.3.1', py_version='py37', script_mode=True, sagemaker_session=sagemaker_session, output_path=model_path, volume_size=250, )
when i used shutil to check my container memory i am getting only 25GB but i have given volume_size=250, import shutil
total, used, free = shutil.disk_usage("/") print("Total: %d GiB" % (total // (230))) print("Used: %d GiB" % (used // (230))) print("Free: %d GiB" % (free // (2**30)))
Total: 25 GiB Used: 5 GiB Free: 18 GiB