Open ftrajano opened 2 years ago
Hello did you solve this problem? if yes, could you please explain how?
Hello! I am desperately need to solve this issue! Have you solved the issue?
hi, was this issue ever solved?
Hello, guys. I dont remember when I found this problem but putting in chatgpt gives me the following response
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'