case: default, logdir: /data/private/vc/logdir/default/train1
---------------------------------------------------------------------------
PermissionError Traceback (most recent call last)
~/library/train1.py in <module>()
76 print('case: {}, logdir: {}'.format(args.case, logdir_train1))
77
---> 78 train(args, logdir=logdir_train1)
79
80 print("Done")
~/library/train1.py in train(args, logdir)
30
31 # set logger for event and model saver
---> 32 logger.set_logger_dir(logdir)
33
34 session_conf = tf.ConfigProto(
~/anaconda3_501/lib/python3.6/site-packages/tensorpack/utils/logger.py in set_logger_dir(dirname, action)
131 LOG_DIR = dirname
132 from .fs import mkdir_p
--> 133 mkdir_p(dirname)
134 _set_file(os.path.join(dirname, 'log.log'))
135
~/anaconda3_501/lib/python3.6/site-packages/tensorpack/utils/fs.py in mkdir_p(dirname)
26 except OSError as e:
27 if e.errno != errno.EEXIST:
---> 28 raise e
29
30
~/anaconda3_501/lib/python3.6/site-packages/tensorpack/utils/fs.py in mkdir_p(dirname)
23 return
24 try:
---> 25 os.makedirs(dirname)
26 except OSError as e:
27 if e.errno != errno.EEXIST:
~/anaconda3_501/lib/python3.6/os.py in makedirs(name, mode, exist_ok)
208 if head and tail and not path.exists(head):
209 try:
--> 210 makedirs(head, mode, exist_ok)
211 except FileExistsError:
212 # Defeats race condition when another thread created the path
~/anaconda3_501/lib/python3.6/os.py in makedirs(name, mode, exist_ok)
208 if head and tail and not path.exists(head):
209 try:
--> 210 makedirs(head, mode, exist_ok)
211 except FileExistsError:
212 # Defeats race condition when another thread created the path
~/anaconda3_501/lib/python3.6/os.py in makedirs(name, mode, exist_ok)
208 if head and tail and not path.exists(head):
209 try:
--> 210 makedirs(head, mode, exist_ok)
211 except FileExistsError:
212 # Defeats race condition when another thread created the path
~/anaconda3_501/lib/python3.6/os.py in makedirs(name, mode, exist_ok)
208 if head and tail and not path.exists(head):
209 try:
--> 210 makedirs(head, mode, exist_ok)
211 except FileExistsError:
212 # Defeats race condition when another thread created the path
~/anaconda3_501/lib/python3.6/os.py in makedirs(name, mode, exist_ok)
208 if head and tail and not path.exists(head):
209 try:
--> 210 makedirs(head, mode, exist_ok)
211 except FileExistsError:
212 # Defeats race condition when another thread created the path
~/anaconda3_501/lib/python3.6/os.py in makedirs(name, mode, exist_ok)
218 return
219 try:
--> 220 mkdir(name, mode)
221 except OSError:
222 # Cannot rely on checking for EEXIST, since the operating system
PermissionError: [Errno 13] Permission denied: '/data'
Hello, my problem is