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 : 3223766 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 : 2241>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3223766/ 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.282813310623169 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 May 13 15:42:29 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/1747143747_3223766_1357859104_e9edcee6b4f76d496a20fde28b2900ba.jpg resize: (1080, 1632) 1357859104 -1.1786402537363403 treat image : temp/1747143747_3223766_1357859101_9592216fcd5857243731db094592f465.jpg resize: (1080, 1632) 1357859101 -1.0618896092993146 treat image : temp/1747143747_3223766_1357859099_198883dbda54cd07829b746b0106ba9e.jpg resize: (1080, 1632) 1357859099 -1.4439328743548159 treat image : temp/1747143747_3223766_1357859096_5684f5dda3d2a947749d9bd217acda31.jpg resize: (1080, 1632) 1357859096 -3.516805770380282 treat image : temp/1747143747_3223766_1357858787_827e961223972d6d9018a8c23f215e05.jpg resize: (1080, 1632) 1357858787 -3.633333014303745 treat image : temp/1747143747_3223766_1357858757_c0b1a3cf5556ddadb09d51506f87cb83.jpg resize: (1080, 1632) 1357858757 -3.239040030379565 treat image : temp/1747143747_3223766_1357858728_72cb212a264f363ce610adf1c075cf8b.jpg resize: (1080, 1632) 1357858728 -5.900846898169823 treat image : temp/1747143747_3223766_1357858699_ea6d913d83e2739f9e16a5b233ae7e6c.jpg resize: (1080, 1632) 1357858699 -6.199405308810135 treat image : temp/1747143747_3223766_1357858671_f36ed4261e2d75c1498602becc55f630.jpg resize: (1080, 1632) 1357858671 -3.934318969369328 treat image : temp/1747143747_3223766_1357858666_3e48c1b6bcb8ccad092761e709f2f109.jpg resize: (1080, 1632) 1357858666 -6.179315009091063 treat image : temp/1747143747_3223766_1357858635_4b0a634d86279db4bb323d5ff04f7880.jpg resize: (1080, 1632) 1357858635 -2.76135283720583 treat image : temp/1747143747_3223766_1357858629_c517d54ccd55390a20eea0c2c97a3c91.jpg resize: (1080, 1632) 1357858629 -4.504974401848729 treat image : temp/1747143747_3223766_1357858626_d6ec7bb1b5c19371b02aff528a617c0f.jpg resize: (1080, 1632) 1357858626 -5.1043440986128745 treat image : temp/1747143747_3223766_1357858623_06dc252828e41e510eda9915d1a3c32d.jpg resize: (1080, 1632) 1357858623 -6.342007130710945 treat image : temp/1747143747_3223766_1357858620_409378d352cc51fbc16ea9500595f879.jpg resize: (1080, 1632) 1357858620 -6.0492789319731575 treat image : temp/1747143747_3223766_1357858584_6ec0543e550b253ef32dbe72f9e18721.jpg resize: (1080, 1632) 1357858584 -4.056067886667347 treat image : temp/1747143747_3223766_1357858578_7c8f172add30d4ffc28ff2da35391c83.jpg resize: (1080, 1632) 1357858578 -4.985893433543957 treat image : temp/1747143747_3223766_1357858566_da77669e4fb832986bb356c9f857bce5.jpg resize: (1080, 1632) 1357858566 -6.555143889269014 treat image : temp/1747143747_3223766_1357858548_73d2f057fbc04ee478bb538e5b525793.jpg resize: (1080, 1632) 1357858548 -4.55038743678895 treat image : temp/1747143747_3223766_1357858546_7511a1edc229f2c27cc4f95b0c6aae00.jpg resize: (1080, 1632) 1357858546 -1.61886222218667 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.015662670135498047 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.01693272590637207 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018040895462036133 save missing photos in datou_result : time spend for datou_step_exec : 19.723700523376465 time spend to save output : 0.05591273307800293 total time spend for step 1 : 19.779613256454468 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.70user 6.64system 0:23.77elapsed 93%CPU (0avgtext+0avgdata 139784maxresident)k 144inputs+10008outputs (7major+260910minor)pagefaults 0swaps