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 : 2438359 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 : 2491>100 please execute split_portfolio.py -i 21962613 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2714916'] with mtr_portfolio_ids : ['21962613'] and first list_photo_ids : [] new path : /proc/2438359/ 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.427441358566284 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 Apr 2 17:12:33 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/1743606750_2438359_1349496615_713b0f4a0041ffca15a0ff917ebe3ba9.jpg resize: (1080, 1632) 1349496615 -4.025471874887593 treat image : temp/1743606750_2438359_1349496610_8a7461ba270d073f3771f5d903c480e6.jpg resize: (1080, 1632) 1349496610 -5.916013820198031 treat image : temp/1743606750_2438359_1349496599_868718f7ce77bb1456ff6a3891a1b00e.jpg resize: (1080, 1632) 1349496599 -4.709322130461165 treat image : temp/1743606750_2438359_1349496555_f48c28e81a689342aa12803cadd85392.jpg resize: (1080, 1632) 1349496555 -5.783879201638526 treat image : temp/1743606750_2438359_1349496550_22ee3d2a83c86649412ebfec1aa358ba.jpg resize: (1080, 1632) 1349496550 -5.590662620105712 treat image : temp/1743606750_2438359_1349496543_9f386ae26a9d91d8b0168d2db18b616d.jpg resize: (1080, 1632) 1349496543 -1.0087130385857994 treat image : temp/1743606750_2438359_1349496510_07116a6b92a77c03911a35c774ba145c.jpg resize: (1080, 1632) 1349496510 -5.039001416855015 treat image : temp/1743606750_2438359_1349496504_4d1cf64287a2224e1cf3fc2edca16968.jpg resize: (1080, 1632) 1349496504 -5.6042798832989575 treat image : temp/1743606750_2438359_1349496499_9425b2a1a7712d6d21b3b20cfe6143ce.jpg resize: (1080, 1632) 1349496499 -5.006937786699581 treat image : temp/1743606750_2438359_1349496495_3611a97e954bce176ea8087c46526060.jpg resize: (1080, 1632) 1349496495 -6.025782200408196 treat image : temp/1743606750_2438359_1349496490_65734f9e314737b596dd11792c40f57e.jpg resize: (1080, 1632) 1349496490 -5.077823974874165 treat image : temp/1743606750_2438359_1349496486_a7762f906aebed48dff6d9f85034cdba.jpg resize: (1080, 1632) 1349496486 -5.272430056413792 treat image : temp/1743606750_2438359_1349496443_408e21d37ee83c0f38fcaadafabb695e.jpg resize: (1080, 1632) 1349496443 -6.2015907581758185 treat image : temp/1743606750_2438359_1349496439_6a25eb992cd4be055fc36c6830268c1f.jpg resize: (1080, 1632) 1349496439 -6.283825013493173 treat image : temp/1743606750_2438359_1349496434_5c39a02ef38c1a88c748685e113e0e15.jpg resize: (1080, 1632) 1349496434 -6.109847656003137 treat image : temp/1743606750_2438359_1349496430_8efeefacf79d780e638832e7a5f89d5a.jpg resize: (1080, 1632) 1349496430 -6.116459572707428 treat image : temp/1743606750_2438359_1349496383_33b1ce085efb56ade944ef28a2916c7f.jpg resize: (1080, 1632) 1349496383 -0.9198568555723932 treat image : temp/1743606750_2438359_1349496377_7858d6a4e42a912d5a880f0c1a90a2eb.jpg resize: (1080, 1632) 1349496377 -1.6102338900185527 treat image : temp/1743606750_2438359_1349496374_be106010c9748c0a69b00b1f319eb82c.jpg resize: (1080, 1632) 1349496374 -2.892936655608387 treat image : temp/1743606750_2438359_1349496334_02d7f38dcca67f1a4162143c07428123.jpg resize: (1080, 1632) 1349496334 -4.951070682978347 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.01237344741821289 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.013037443161010742 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0149078369140625 save missing photos in datou_result : time spend for datou_step_exec : 15.830623626708984 time spend to save output : 0.0450901985168457 total time spend for step 1 : 15.87571382522583 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.44user 3.79system 0:23.64elapsed 77%CPU (0avgtext+0avgdata 137432maxresident)k 96inputs+10376outputs (8major+259974minor)pagefaults 0swaps