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 : 330195 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 : 1985>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/330195/ 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 : 3.5945215225219727 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 Sep 17 03:42: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/1758073348_330195_1359436027_56b3b40b1b24d5d3cf04739af699bec4.jpg resize: (1080, 1632) 1359436027 -5.149053188807007 treat image : temp/1758073348_330195_1359432453_eb1bbc1bf4affd5c8e8db6e0f725466b.jpg resize: (1080, 1632) 1359432453 -5.12959080565641 treat image : temp/1758073348_330195_1359431388_2b2d66fb8331fbe56b8481aec2abd3a0.jpg resize: (1080, 1632) 1359431388 -1.6529038360497095 treat image : temp/1758073348_330195_1359431385_6a20a3ebfe8fb6a620f3c021e1017a5c.jpg resize: (1080, 1632) 1359431385 -3.6209953552929113 treat image : temp/1758073348_330195_1359431382_2e94122d66323074b75672415313faa8.jpg resize: (1080, 1632) 1359431382 -5.850098975265215 treat image : temp/1758073348_330195_1359431378_722cdddce63c736fc6a0fcd59eedc508.jpg resize: (1080, 1632) 1359431378 -3.251217398675941 treat image : temp/1758073348_330195_1359431368_a39a7edf96f873674290542da47a68fb.jpg resize: (1080, 1632) 1359431368 -5.193656768264783 treat image : temp/1758073348_330195_1359431248_5456f2c2f9be4fbe8e32a253e4467974.jpg resize: (1080, 1632) 1359431248 -6.2177113975477605 treat image : temp/1758073348_330195_1359431242_9acec091729baeb4b16395f5a0361386.jpg resize: (1080, 1632) 1359431242 -4.392850147516967 treat image : temp/1758073348_330195_1359431237_0693e7f804a3e55def06bbc334c51091.jpg resize: (1080, 1632) 1359431237 -1.298097188873756 treat image : temp/1758073348_330195_1359431205_f11938f98aa51a68cb0801acc8696ba8.jpg resize: (1080, 1632) 1359431205 -6.04684036210574 treat image : temp/1758073348_330195_1359431202_3d7f551ab97f3dd75d1fb3e9b1973041.jpg resize: (1080, 1632) 1359431202 -5.6597644901945605 treat image : temp/1758073348_330195_1359431198_5dbee57f75bc072bd1b8f83a6120691d.jpg resize: (1080, 1632) 1359431198 -4.350420835583284 treat image : temp/1758073348_330195_1359431193_20977eafd9b332498249845be5cf4e7b.jpg resize: (1080, 1632) 1359431193 -5.702943268491045 treat image : temp/1758073348_330195_1359431190_7cb761d8f17b51286fe3e17513be6ea2.jpg resize: (1080, 1632) 1359431190 -6.803890529524594 treat image : temp/1758073348_330195_1359431023_f7fad248fd5c6b7d5bf72d3061cfb3c2.jpg resize: (1080, 1632) 1359431023 -1.8369787202247017 treat image : temp/1758073348_330195_1359430993_e363f363d786a62c1f3daf22b2e46e05.jpg resize: (1080, 1632) 1359430993 -1.6335577244869988 treat image : temp/1758073348_330195_1359430973_4cbf65daec161a789ecf0a6deb36cb0a.jpg resize: (1080, 1632) 1359430973 -4.735248538735848 treat image : temp/1758073348_330195_1359430970_a61f3c44d7d6c15657121764f8b23919.jpg resize: (1080, 1632) 1359430970 -6.053991505179809 treat image : temp/1758073348_330195_1359430669_6307072f8065ccf21da53aaadf5a6ad1.jpg resize: (1080, 1632) 1359430669 -3.188883322164504 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.01331186294555664 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.019054651260375977 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014873981475830078 save missing photos in datou_result : time spend for datou_step_exec : 15.450255870819092 time spend to save output : 0.052242279052734375 total time spend for step 1 : 15.502498149871826 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.98user 3.85system 0:22.70elapsed 78%CPU (0avgtext+0avgdata 137084maxresident)k 888inputs+10096outputs (13major+256809minor)pagefaults 0swaps