matterport / Mask_RCNN

Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow
Other
24.68k stars 11.7k forks source link

OSError: [Errno 30] Read-only file system: '//logdir' #2880

Open ftrajano opened 2 years ago

ftrajano commented 2 years ago

OSError Traceback (most recent call last) /var/folders/85/ct6fl3cd7jb4xqryxdmdp24m0000gp/T/ipykernel_41965/1575341098.py in 18 model.load_weights(COCO_WEIGHTS_PATH, by_name=True, exclude=["mrcnn_class_logits", "mrcnn_bbox_fc", "mrcnn_bbox", "mrcnn_mask"]) 19 # train weights (output layers or 'heads') ---> 20 model.train(dataset_train, dataset_train, learning_rate=config.LEARNING_RATE, epochs=1, layers='heads')

~/Public/opitblast/venvs/mask-rcnn/lib/python3.7/site-packages/mask_rcnn_tf2-1.0-py3.7.egg/mrcnn/model.py in train(self, train_dataset, val_dataset, learning_rate, epochs, layers, augmentation, custom_callbacks, no_augmentation_sources) 2345 # Create log_dir if it does not exist 2346 if not os.path.exists(self.log_dir): -> 2347 os.makedirs(self.log_dir) 2348 2349 # Callbacks

/usr/local/opt/python@3.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/os.py in makedirs(name, mode, exist_ok) 211 if head and tail and not path.exists(head): 212 try: --> 213 makedirs(head, exist_ok=exist_ok) 214 except FileExistsError: 215 # Defeats race condition when another thread created the path

/usr/local/opt/python@3.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/os.py in makedirs(name, mode, exist_ok) 221 return 222 try: --> 223 mkdir(name, mode) 224 except OSError: 225 # Cannot rely on checking for EEXIST, since the operating system

OSError: [Errno 30] Read-only file system: '//logdir'

wchouvalov commented 1 year ago

Hello did you solve this problem? if yes, could you please explain how?

udaniel commented 1 year ago

Hello! I am desperately need to solve this issue! Have you solved the issue?

jeremiahbudiman commented 1 year ago

hi, was this issue ever solved?

ftrajano commented 1 year ago

Hello, guys. I dont remember when I found this problem but putting in chatgpt gives me the following response Captura de Tela 2023-04-04 às 13 16 56