sipeed / maix_train

k210(MaixPy)/V831 model example train code, include mobilenet classifier and YOLO V2 detector
https://wiki.sipeed.com/maixpy
Apache License 2.0
83 stars 40 forks source link

Permission denied error #7

Open Mrsirovo opened 3 years ago

Mrsirovo commented 3 years ago

When I trying to train by myself, I encounter the permission denied error. This is my log:

2021-04-04 14:14:39,944 - [INFO]: progress: 0%, start 2021-04-04 14:14:39,944 - [INFO]: progress: 1%, start train 2021-04-04 14:14:40,788 - [INFO]: no GPU, will use [CPU] 2021-04-04 14:14:41,598 - [INFO]: input_shape: (224, 224, 3) 2021-04-04 14:14:41,885 - [INFO]: load datasets complete, check pass, images num:376, bboxes num:376 2021-04-04 14:14:41,967 - [INFO]: train, labels:['up', 'mid', 'down'] 2021-04-04 14:14:41,967 - [DEBUG]: train, datasets dir:/work/si_xuan_yi/maix_train/out/datasets/datasets 2021-04-04 14:14:41,968 - [INFO]: bboxes num: 376, first bbox: [0.30803571 0.13839286] 2021-04-04 14:14:41,997 - [INFO]: bbox accuracy(IOU): 93.09% 2021-04-04 14:14:41,997 - [INFO]: bound boxes: (72.000000,28.00),(73.000000,35.00),(67.000000,31.00),(66.000000,38.00),(65.000000,34.00) 2021-04-04 14:14:41,998 - [INFO]: anchors: [2.25, 0.875, 2.28125, 1.09375, 2.09375, 0.96875, 2.0625, 1.1875, 2.03125, 1.0625] 2021-04-04 14:14:41,998 - [INFO]: w/h ratios: [1.74, 1.91, 2.09, 2.16, 2.57] 2021-04-04 14:14:42,540 - [INFO]: train start 2021-04-04 14:14:42,540 - [INFO]: progress: 1.0%, train start 2021-04-04 14:14:42,556 - [INFO]: epoch 0 start 2021-04-04 14:15:19,458 - [INFO]: epoch 0 end: {'loss': 0.22109940648078918, 'val_loss': 0.10796400904655457, 'lr': 1e-04} 2021-04-04 14:15:19,458 - [INFO]: progress: 49.5%, train epoch end 2021-04-04 14:15:19,529 - [INFO]: epoch 1 start 2021-04-04 14:15:54,535 - [INFO]: epoch 1 end: {'loss': 0.044014301151037216, 'val_loss': 0.08665819466114044, 'lr': 1e-04} 2021-04-04 14:15:54,536 - [INFO]: progress: 98.0%, train epoch end 2021-04-04 14:15:54,610 - [INFO]: train end 2021-04-04 14:15:54,610 - [INFO]: progress: 98.0%, train end 2021-04-04 14:16:05,124 - [INFO]: train ok, now generate report 2021-04-04 14:16:05,124 - [INFO]: generate report image 2021-04-04 14:16:05,279 - [INFO]: generate report image end 2021-04-04 14:16:05,279 - [INFO]: now generate kmodel 2021-04-04 14:16:17,460 - [ERROR]: failed: TrainFailReason.ERROR_INTERNAL, node error:[Errno 13] Permission denied: '/work/si_xuan_yi/maix_train/instance/../tools/ncc/ncc_v0.1/ncc'

Neutree commented 3 years ago
chmod +x /work/si_xuan_yi/maix_train/instance/../tools/ncc/ncc_v0.1/ncc
maziyi234 commented 2 years ago

你好 我也遇到了这个问题 chmod+x 还是出现了权限限制,请问是怎么解决的呢

alirezainallo commented 1 year ago

Hi, I have same problem. anyone can solved it issue? I try this command but can't find my need results (have .kmodel model format in out folder)

chmod +x /work/si_xuan_yi/maix_train/instance/../tools/ncc/ncc_v0.1/ncc

please help me 🙏