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 : 2174807 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 : 993>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/2174807/ 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.661365032196045 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 Thu May 22 09:27:31 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/1747898848_2174807_1360460003_3b8381eb36f76ef4601c15486167311b.jpg resize: (1080, 1632) 1360460003 -5.152535501470271 treat image : temp/1747898848_2174807_1360441537_31bcfbd05ea05ed13a4328fd888349b2.jpg resize: (1080, 1632) 1360441537 -4.169607048114808 treat image : temp/1747898848_2174807_1360441462_f7d9c6c32a26867202cd8e59c7d06c2b.jpg resize: (1080, 1632) 1360441462 -5.540101960755141 treat image : temp/1747898848_2174807_1360441458_633f9da4df35fa5b1c5e0c0292b60407.jpg resize: (1080, 1632) 1360441458 -5.727775240322718 treat image : temp/1747898848_2174807_1360441453_ce03ba68a0f7ffc7cdb47774211a9541.jpg resize: (1080, 1632) 1360441453 -5.954940427293937 treat image : temp/1747898848_2174807_1360441449_6f85803abd158e79a2c434cc9e0257e3.jpg resize: (1080, 1632) 1360441449 -6.469708931266178 treat image : temp/1747898848_2174807_1360441432_942727085eae6c2b095f9489ca58841a.jpg resize: (1080, 1632) 1360441432 -6.325157361493016 treat image : temp/1747898848_2174807_1360441377_8a2d93688926bb5a74f066cf81012aee.jpg resize: (1080, 1632) 1360441377 -6.443182943710327 treat image : temp/1747898848_2174807_1360441374_17c82660555e667c8ca62632e9507901.jpg resize: (1080, 1632) 1360441374 -6.44931253671359 treat image : temp/1747898848_2174807_1360441370_b2014bf1c34d0241f9f98061035ef84b.jpg resize: (1080, 1632) 1360441370 -4.371042174315903 treat image : temp/1747898848_2174807_1360441306_780b169988f1ad09aa3079c92131b6c0.jpg resize: (1080, 1632) 1360441306 -1.6835441780233524 treat image : temp/1747898848_2174807_1360441302_a7fba60174812639c5b334f465b1ee72.jpg resize: (1080, 1632) 1360441302 -2.1469642034290657 treat image : temp/1747898848_2174807_1360441288_59f523e3e92e86d5dba9644df1a1bea0.jpg resize: (1080, 1632) 1360441288 -3.759011384441719 treat image : temp/1747898848_2174807_1360441285_dac1983fc1b889e3040114751f977345.jpg resize: (1080, 1632) 1360441285 -5.088024046326382 treat image : temp/1747898848_2174807_1360441214_1a6a4dbf990f1db18d9cbfa7c6b7d0de.jpg resize: (1080, 1632) 1360441214 -5.757257764649644 treat image : temp/1747898848_2174807_1360441212_a60b77a8840d0d7542e032136dcf5f70.jpg resize: (1080, 1632) 1360441212 -2.948218814826013 treat image : temp/1747898848_2174807_1360441180_a2f9a030bd691e2283e5f1d1f6e5e3d7.jpg resize: (1080, 1632) 1360441180 -5.961330061235955 treat image : temp/1747898848_2174807_1360441178_c1a6d046215afce1eb3687d45f47c489.jpg resize: (1080, 1632) 1360441178 -2.6760127490893755 treat image : temp/1747898848_2174807_1360441174_248740c8a4591c5ba7b6bac503d8a33b.jpg resize: (1080, 1632) 1360441174 -5.536971482340215 treat image : temp/1747898848_2174807_1360441165_cc7a7d42bcb41700f2e2709728773ad7.jpg resize: (1080, 1632) 1360441165 -4.231653146368666 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.012660026550292969 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.06497430801391602 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03502154350280762 save missing photos in datou_result : time spend for datou_step_exec : 18.812570571899414 time spend to save output : 0.11713862419128418 total time spend for step 1 : 18.9297091960907 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.99user 6.42system 0:26.02elapsed 82%CPU (0avgtext+0avgdata 137640maxresident)k 896inputs+10184outputs (33major+258377minor)pagefaults 0swaps