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 : 305587 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 : 4688>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/305587/ 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.7824063301086426 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 Jul 17 14:02: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/1752753750_305587_1372407297_1ca53be85dd600537769b95c1b2e9149.jpg resize: (1080, 1632) 1372407297 -2.393442156200908 treat image : temp/1752753750_305587_1372407232_9af4a3a7c918b22488d8de2f55dfe25b.jpg resize: (1080, 1632) 1372407232 -1.814990892478909 treat image : temp/1752753750_305587_1372407164_a632622a8d42069eacd1c37f554e9160.jpg resize: (1080, 1632) 1372407164 -4.475243916135825 treat image : temp/1752753750_305587_1372407110_c3851c8a1423138357100b753a96b723.jpg resize: (1080, 1632) 1372407110 -5.12635142319884 treat image : temp/1752753750_305587_1372407071_8fa1e1e5edcd186665339b621dd1f6ce.jpg resize: (1080, 1632) 1372407071 -4.626779676255122 treat image : temp/1752753750_305587_1372342611_1bd44f80701e472c4898784eca655d1b.jpg resize: (1080, 1632) 1372342611 -4.611472834567376 treat image : temp/1752753750_305587_1372342608_b3dc7306ae3d55e1318b50a223fa0203.jpg resize: (1080, 1632) 1372342608 -4.6232849350185745 treat image : temp/1752753750_305587_1372342604_1f8a9c2dc73661f9372bbcbdb53bafec.jpg resize: (1080, 1632) 1372342604 -4.595698326072499 treat image : temp/1752753750_305587_1372342600_d083760a18ad7775d6def0f896f002c6.jpg resize: (1080, 1632) 1372342600 -4.618834995231893 treat image : temp/1752753750_305587_1372342576_9347ffcb434cfc9675f4e3b42db551a2.jpg resize: (1080, 1632) 1372342576 -4.367705953599336 treat image : temp/1752753750_305587_1372342574_2ff39374a0e86c88773374bfaa596a3c.jpg resize: (1080, 1632) 1372342574 -3.917007913356776 treat image : temp/1752753750_305587_1372342572_8ee4d515dcaee792de1ad99b7dc8c954.jpg resize: (1080, 1632) 1372342572 -6.444412448808812 treat image : temp/1752753750_305587_1372342569_dc9d8d18dc53d002bb0cfa00f6d6a928.jpg resize: (1080, 1632) 1372342569 -6.4342024351191105 treat image : temp/1752753750_305587_1372342566_c6be8e3c0a5e6cefa59a4109a9c1ba25.jpg resize: (1080, 1632) 1372342566 -6.433615986016879 treat image : temp/1752753750_305587_1372342565_c3c2656dc0fdb11a5833686220a52894.jpg resize: (1080, 1632) 1372342565 -6.454828773142641 treat image : temp/1752753750_305587_1372342543_e12e8df84936bce04d20b941b57e5000.jpg resize: (1080, 1632) 1372342543 -2.8705356602928895 treat image : temp/1752753750_305587_1372342542_bd7ebf3da8299db73a38f12de6bc1d9a.jpg resize: (1080, 1632) 1372342542 -2.9875760840284524 treat image : temp/1752753750_305587_1372342540_5efdf6c791ae4e537ce13e740ad128a6.jpg resize: (1080, 1632) 1372342540 -2.981015622723818 treat image : temp/1752753750_305587_1372342539_f27d66898cd97f1de91a85b769f72538.jpg resize: (1080, 1632) 1372342539 -2.9745853809457383 treat image : temp/1752753750_305587_1372342536_1864fba3c691bb26c43f117f3e6779ff.jpg resize: (1080, 1632) 1372342536 -3.191226767497603 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.03130602836608887 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.031601667404174805 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.032367706298828125 save missing photos in datou_result : time spend for datou_step_exec : 15.337542295455933 time spend to save output : 0.10736823081970215 total time spend for step 1 : 15.444910526275635 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.20user 3.49system 0:21.70elapsed 81%CPU (0avgtext+0avgdata 139900maxresident)k 0inputs+8824outputs (11major+259300minor)pagefaults 0swaps