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 : 3766351 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 : 2717>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3766351/ 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.319563388824463 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 May 21 18:22:30 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/1747844547_3766351_1360098345_46785094f2bcc539eb47500a4e3f0014.jpg resize: (1080, 1632) 1360098345 -5.831522521986639 treat image : temp/1747844547_3766351_1360098243_8b421cf4273a0c63d46be08ec53e0c27.jpg resize: (1080, 1632) 1360098243 -5.896581619749731 treat image : temp/1747844547_3766351_1360098153_4e14a88946651ba2c80a877f8e9a5e76.jpg resize: (1080, 1632) 1360098153 -5.1639760978356675 treat image : temp/1747844547_3766351_1360098082_b2038f675201e13c45a7e9fde73cbc8c.jpg resize: (1080, 1632) 1360098082 -1.351763238235462 treat image : temp/1747844547_3766351_1360097448_c2434ab3bcbb7c7d39d7efaf45d00414.jpg resize: (1080, 1632) 1360097448 -5.4161891784499065 treat image : temp/1747844547_3766351_1360097423_ccd30b5ffe17a09d7aa631054cd9bf2d.jpg resize: (1080, 1632) 1360097423 -2.8511756132356445 treat image : temp/1747844547_3766351_1360097394_66bd44c938322c770ee3d6e05d94891c.jpg resize: (1080, 1632) 1360097394 -6.002316948894086 treat image : temp/1747844547_3766351_1360097366_55303ae870ae037e6e40dbd9f6b298b7.jpg resize: (1080, 1632) 1360097366 -4.724668147918364 treat image : temp/1747844547_3766351_1360097336_724a85b64cd7c87d4a07e1208c4cb950.jpg resize: (1080, 1632) 1360097336 -4.944914783021857 treat image : temp/1747844547_3766351_1360097281_56757827be87b24cbf46969b275317c0.jpg resize: (1080, 1632) 1360097281 -5.975032187771299 treat image : temp/1747844547_3766351_1360096751_95a9d805f28e3ff9f21c203838dc7d56.jpg resize: (1080, 1632) 1360096751 -0.9660868416914017 treat image : temp/1747844547_3766351_1360096741_71ceb92ffbf2a28daf6f2a0cd29276e7.jpg resize: (1080, 1632) 1360096741 -2.632525068407003 treat image : temp/1747844547_3766351_1360096726_8b642895947dc891bf20f4f56079f543.jpg resize: (1080, 1632) 1360096726 -2.1396082043251856 treat image : temp/1747844547_3766351_1360096718_45b8996b1d6bd1871522c78714098d64.jpg resize: (1080, 1632) 1360096718 -3.518639065462378 treat image : temp/1747844547_3766351_1360096712_20f41d8d38143f004c9e95eb5576f012.jpg resize: (1080, 1632) 1360096712 -6.06867395256409 treat image : temp/1747844547_3766351_1360096705_53c9529d15be77e2e5c0aa4598f8347f.jpg resize: (1080, 1632) 1360096705 -5.796641901811057 treat image : temp/1747844547_3766351_1360096317_52e6933f563aa3cbb28f7cf15448b471.jpg resize: (1080, 1632) 1360096317 -3.2805647028067932 treat image : temp/1747844547_3766351_1360096264_7c9dd495d94e092ad211a61159a2a280.jpg resize: (1080, 1632) 1360096264 -5.785878318354799 treat image : temp/1747844547_3766351_1360096199_dc472075b540a0a4bb625ddd46fdb395.jpg resize: (1080, 1632) 1360096199 -6.486898872202447 treat image : temp/1747844547_3766351_1360096103_e9897a992e9d2d32d2032839bd3fc461.jpg resize: (1080, 1632) 1360096103 -3.3590871753068083 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.014784097671508789 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.0168609619140625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017739057540893555 save missing photos in datou_result : time spend for datou_step_exec : 17.573659896850586 time spend to save output : 0.054248809814453125 total time spend for step 1 : 17.62790870666504 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.01user 5.69system 0:21.95elapsed 94%CPU (0avgtext+0avgdata 139604maxresident)k 1088inputs+10016outputs (20major+255685minor)pagefaults 0swaps