python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4871 -l 100 ' -s datou_current_4871 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1310440 load datou : 4871 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 2337>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1310440/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : blur_detection over limit max, limiting to limit_max 20 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 2.4977426528930664 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:blur_detection Tue Sep 9 15:17:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec inside step blur_detection methode: ratio et variance treat image : temp/1757423846_1310440_1382779885_369793096b317cf50ff0ba3be9d28b4c.jpg resize: (1080, 1632) 1382779885 -3.3058354032648087 treat image : temp/1757423846_1310440_1382779881_16e274090b5210d918ef746f97520472.jpg resize: (1080, 1632) 1382779881 -5.322579224679247 treat image : temp/1757423846_1310440_1382779876_ab47d75c2b85f8badfd168dd6535c3f5.jpg resize: (1080, 1632) 1382779876 -4.613477720171658 treat image : temp/1757423846_1310440_1382779869_56f6a1c27ef229cd1fb38eee445fa1b7.jpg resize: (1080, 1632) 1382779869 -5.075145247671185 treat image : temp/1757423846_1310440_1382779864_952257ca6bdd1634dd6fc0de9f98495a.jpg resize: (1080, 1632) 1382779864 -3.309833862330972 treat image : temp/1757423846_1310440_1382779860_a639ae8666116a80c24e4b092032c30f.jpg resize: (1080, 1632) 1382779860 -3.55975915119255 treat image : temp/1757423846_1310440_1382779831_ffa756666dbc60aaa354927977e08ebd.jpg resize: (1080, 1632) 1382779831 -1.2781074132181949 treat image : temp/1757423846_1310440_1382779827_08cbb64386d727061acd24ec1c24138a.jpg resize: (1080, 1632) 1382779827 -3.404419440421069 treat image : temp/1757423846_1310440_1382779824_59efc1b1248f5f41ed9bfdc30b8219af.jpg resize: (1080, 1632) 1382779824 -3.8612065808621696 treat image : temp/1757423846_1310440_1382779822_41839c61c29e74f2599e287ce3672cfb.jpg resize: (1080, 1632) 1382779822 -5.31870776251398 treat image : temp/1757423846_1310440_1382779819_b59fa2f4e8d2826f8cf393dca6a033da.jpg resize: (1080, 1632) 1382779819 -5.358632492679771 treat image : temp/1757423846_1310440_1382779816_784eea08ace4ebb4134415a2e526aeee.jpg resize: (1080, 1632) 1382779816 -4.991845668988194 treat image : temp/1757423846_1310440_1382779813_a388ff46352881ec373249f960f06107.jpg resize: (1080, 1632) 1382779813 -4.808263873400032 treat image : temp/1757423846_1310440_1382779810_dee2fb0eeec794a3f31b219805447d9c.jpg resize: (1080, 1632) 1382779810 -5.325710881542828 treat image : temp/1757423846_1310440_1382779807_4c7aff72a594d7fecbea3df1b19128ed.jpg resize: (1080, 1632) 1382779807 -5.536842166367709 treat image : temp/1757423846_1310440_1382779804_69ff2c0463c0c86896f40f0c37bb983a.jpg resize: (1080, 1632) 1382779804 -4.313568169329266 treat image : temp/1757423846_1310440_1382779801_1860163c62fcc107699da059c4aa1bb2.jpg resize: (1080, 1632) 1382779801 -4.3757679192717465 treat image : temp/1757423846_1310440_1382779779_213b9217057098ae88e650b1b890e9df.jpg resize: (1080, 1632) 1382779779 -4.991845668988194 treat image : temp/1757423846_1310440_1382779775_013ce3b7491bee5405859646af40bd11.jpg resize: (1080, 1632) 1382779775 -4.808263873400032 treat image : temp/1757423846_1310440_1382779768_d6e862333a1c94cce6962660471090a4.jpg resize: (1080, 1632) 1382779768 -5.287446136290172 Inside saveOutput : final : True verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.012662649154663086 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.012942314147949219 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0159604549407959 save missing photos in datou_result : time spend for datou_step_exec : 14.483088970184326 time spend to save output : 0.04605913162231445 total time spend for step 1 : 14.52914810180664 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.79user 3.37system 0:18.69elapsed 91%CPU (0avgtext+0avgdata 138472maxresident)k 0inputs+9272outputs (0major+254051minor)pagefaults 0swaps