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 : 2756693 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 : 3747>100 please execute split_portfolio.py -i 25197410 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3322248'] with mtr_portfolio_ids : ['25197410'] and first list_photo_ids : [] new path : /proc/2756693/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.84867000579834 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 Wed Jul 23 12:47:32 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/1753267649_2756693_1373334871_fc66b218175fe11e6e7f53fac7e0497a.jpg resize: (1080, 1632) 1373334871 -4.132321184445294 treat image : temp/1753267649_2756693_1373334867_1b9e38a77d3860d502bebb2e7649a66c.jpg resize: (1080, 1632) 1373334867 -4.127497149838632 treat image : temp/1753267649_2756693_1373334866_a8edcdfa813a95e19dcea5edc1ff7b7e.jpg resize: (1080, 1632) 1373334866 -4.110992512658541 treat image : temp/1753267649_2756693_1373334864_42a2bbb8614a785f7df4daa905a3af1f.jpg resize: (1080, 1632) 1373334864 -4.096427231627135 treat image : temp/1753267649_2756693_1373334861_f584e56f06298f1e9ae6ab4bfcb11ad6.jpg resize: (1080, 1632) 1373334861 -4.091644696301909 treat image : temp/1753267649_2756693_1373334860_3b226e288ebf683f1a071de6519dff5b.jpg resize: (1080, 1632) 1373334860 -4.09358018877642 treat image : temp/1753267649_2756693_1373334785_c04670089cf85bae59c68e5c6a51e7a5.jpg resize: (1080, 1632) 1373334785 -4.110910948905763 treat image : temp/1753267649_2756693_1373334781_26f56027caecbf705dbf53db49fcab25.jpg resize: (1080, 1632) 1373334781 -4.161881761653713 treat image : temp/1753267649_2756693_1373334778_bc0f16392482073dfb22d68b5442b0d0.jpg resize: (1080, 1632) 1373334778 -4.176830778985122 treat image : temp/1753267649_2756693_1373334756_e2fa6835ea43d2de83d86e7e90256abe.jpg resize: (1080, 1632) 1373334756 -4.1999000815750485 treat image : temp/1753267649_2756693_1373334723_8663ba615295a2be72b877823f6230e4.jpg resize: (1080, 1632) 1373334723 -4.175651665511799 treat image : temp/1753267649_2756693_1373334691_bdb6f4a1168bec18550d77a4c5951d89.jpg resize: (1080, 1632) 1373334691 -4.177859044655645 treat image : temp/1753267649_2756693_1373334609_f79e65ff8047b3563365acba338aea4f.jpg resize: (1080, 1632) 1373334609 -4.168796172939139 treat image : temp/1753267649_2756693_1373334604_1bd2ef03c7626af3e26c76a00aa0a059.jpg resize: (1080, 1632) 1373334604 -4.094560331227265 treat image : temp/1753267649_2756693_1373334594_d04f1cb5f781aedd8553325227bc3f97.jpg resize: (1080, 1632) 1373334594 -4.095883233986265 treat image : temp/1753267649_2756693_1373334580_e03253710187f5b5ad6f5180abba6e0c.jpg resize: (1080, 1632) 1373334580 -4.187942459310541 treat image : temp/1753267649_2756693_1373334551_0ffca5bfb365e11455d0e165e83b182e.jpg resize: (1080, 1632) 1373334551 -4.233043456567868 treat image : temp/1753267649_2756693_1373334535_130084861d7278fce6851a37aa10c9d6.jpg resize: (1080, 1632) 1373334535 -4.1361473089548975 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 : 18 time used for this insertion : 0.016728878021240234 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012078285217285156 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.014928579330444336 save missing photos in datou_result : time spend for datou_step_exec : 12.924574613571167 time spend to save output : 0.048876285552978516 total time spend for step 1 : 12.973450899124146 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.64user 2.64system 0:19.62elapsed 77%CPU (0avgtext+0avgdata 140748maxresident)k 0inputs+7520outputs (3major+249104minor)pagefaults 0swaps