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 : 2250376 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 : 1874>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/2250376/ 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.681649684906006 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 20 12:52: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/1747738348_2250376_1359793653_46e91183200dc3ee585c7b9d03f54a21.jpg resize: (1080, 1632) 1359793653 -0.9980976904274994 treat image : temp/1747738348_2250376_1359793651_d6306d54e067a6944de8c666848c767c.jpg resize: (1080, 1632) 1359793651 -2.034184134880189 treat image : temp/1747738348_2250376_1359793648_8e67914e10dff4d9a2c75a2c0d8a67aa.jpg resize: (1080, 1632) 1359793648 -1.581119831438312 treat image : temp/1747738348_2250376_1359793641_79d1ce68b90a2a7d940762f6a5e0b1f2.jpg resize: (1080, 1632) 1359793641 -2.7421974467295422 treat image : temp/1747738348_2250376_1359793639_060d63b3b84b9bd92f2b8b751a9ef18d.jpg resize: (1080, 1632) 1359793639 -3.5293192393677777 treat image : temp/1747738348_2250376_1359793623_7b9c394a4be71f4f287b84e849b79085.jpg resize: (1080, 1632) 1359793623 -4.745909416853652 treat image : temp/1747738348_2250376_1359793622_bdb920db1f1f85036bc28e17b1b0eb4c.jpg resize: (1080, 1632) 1359793622 -5.127462532956401 treat image : temp/1747738348_2250376_1359793621_15791ae72ca776f8fd6f67ca8e19d180.jpg resize: (1080, 1632) 1359793621 -3.045752392258454 treat image : temp/1747738348_2250376_1359793610_90f7df252a450e485d14f5e4546169ca.jpg resize: (1080, 1632) 1359793610 -2.810306035023276 treat image : temp/1747738348_2250376_1359793605_39a250addd5bafecb5c0c6efb1baa6de.jpg resize: (1080, 1632) 1359793605 -3.2470697628077576 treat image : temp/1747738348_2250376_1359793599_67d94d97633bbdb905e5387bdf3f1554.jpg resize: (1080, 1632) 1359793599 -2.8365849286722833 treat image : temp/1747738348_2250376_1359793415_b48ccc02b04c98d562536fa66e0f317f.jpg resize: (1080, 1632) 1359793415 -5.022530229869519 treat image : temp/1747738348_2250376_1359793412_56790e7b2d5933883a7ddd42f12ffbc3.jpg resize: (1080, 1632) 1359793412 -5.6936716273732335 treat image : temp/1747738348_2250376_1359793409_3b5c1d8085b570a11a15bae86be90264.jpg resize: (1080, 1632) 1359793409 -6.021489428390633 treat image : temp/1747738348_2250376_1359793406_41cb44956ffc2232dadd8f106679a098.jpg resize: (1080, 1632) 1359793406 -6.1211540673753655 treat image : temp/1747738348_2250376_1359793403_bbbab619a8f2c47fa43b17a8cce9615f.jpg resize: (1080, 1632) 1359793403 -5.936192039837307 treat image : temp/1747738348_2250376_1359793004_20fd883974a308d08c44c7199bfbd37c.jpg resize: (1080, 1632) 1359793004 -5.093637752016939 treat image : temp/1747738348_2250376_1359793001_883b3e079266734600b2b0e3e75448eb.jpg resize: (1080, 1632) 1359793001 -1.8006365930414159 treat image : temp/1747738348_2250376_1359792997_4d9c0c724bc13e45c1028b06f41e34b5.jpg resize: (1080, 1632) 1359792997 -2.279864077418037 treat image : temp/1747738348_2250376_1359792994_8531798a501f29d2dd2b1078c91ff8d8.jpg resize: (1080, 1632) 1359792994 -4.0548887655406345 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.013566017150878906 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.013084173202514648 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014824390411376953 save missing photos in datou_result : time spend for datou_step_exec : 15.134948253631592 time spend to save output : 0.046448469161987305 total time spend for step 1 : 15.181396722793579 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.41user 3.16system 0:21.84elapsed 80%CPU (0avgtext+0avgdata 139788maxresident)k 128inputs+8744outputs (32major+195326minor)pagefaults 0swaps