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 : 1726833 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 : 10847>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/1726833/ 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.3136892318725586 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 Sat Jul 12 06:37: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/1752295048_1726833_1371800814_7bc5bbb481fcb44c58f3940a81a38f88.jpg resize: (1080, 1632) 1371800814 -5.491969726355025 treat image : temp/1752295048_1726833_1371800811_be6ad661819a60ab0667831ffa5ed1a4.jpg resize: (1080, 1632) 1371800811 -5.491413314473326 treat image : temp/1752295048_1726833_1371800808_db21cdaa612e60b68cc39a5e2a6db537.jpg resize: (1080, 1632) 1371800808 -5.498465743783011 treat image : temp/1752295048_1726833_1371800804_34a192df84dc190c76f7f9531fd21809.jpg resize: (1080, 1632) 1371800804 -5.505065364778863 treat image : temp/1752295048_1726833_1371800799_31fd02a026e858da583a51e7ae17471d.jpg resize: (1080, 1632) 1371800799 -5.5041214805173375 treat image : temp/1752295048_1726833_1371800796_70dfb866f556b95f7f6a4bbbc501f9a0.jpg resize: (1080, 1632) 1371800796 -5.509890123446223 treat image : temp/1752295048_1726833_1371800786_5dd4797aeda253c8245c18ade41b1321.jpg resize: (1080, 1632) 1371800786 -5.511229387777606 treat image : temp/1752295048_1726833_1371800784_a98a430bee5129f969dfac2d8541c377.jpg resize: (1080, 1632) 1371800784 -5.514342388990661 treat image : temp/1752295048_1726833_1371800783_f36534994f176ba001164157e49e02d7.jpg resize: (1080, 1632) 1371800783 -5.512762203860265 treat image : temp/1752295048_1726833_1371800782_bb6ff411afd162e60657ea19011b2fc5.jpg resize: (1080, 1632) 1371800782 -5.51680043011118 treat image : temp/1752295048_1726833_1371800781_8850323653f47068b65a5c9256317fdc.jpg resize: (1080, 1632) 1371800781 -5.51246521984759 treat image : temp/1752295048_1726833_1371800779_55e5d0c9927d558d1ff091bb0f2cba8a.jpg resize: (1080, 1632) 1371800779 -5.51300720306993 treat image : temp/1752295048_1726833_1371800769_f2fa4e11857356f2ceb43ff90149acc6.jpg resize: (1080, 1632) 1371800769 -5.507444571533043 treat image : temp/1752295048_1726833_1371800763_0a21f59187c61af32ef1d92dcc346126.jpg resize: (1080, 1632) 1371800763 -5.509270615837842 treat image : temp/1752295048_1726833_1371800758_3cef4f6a6f6ae0e9d6403f92c9ecece4.jpg resize: (1080, 1632) 1371800758 -5.514499441789197 treat image : temp/1752295048_1726833_1371800756_402e263ea8df55c905b89b42e32b0a17.jpg resize: (1080, 1632) 1371800756 -5.511276966397647 treat image : temp/1752295048_1726833_1371800752_160342f28e0f2ab06e4a2c0e0d0190ef.jpg resize: (1080, 1632) 1371800752 -5.513474107797765 treat image : temp/1752295048_1726833_1371800747_72ce1ddbab0d75e26ef67f7f12f90a9c.jpg resize: (1080, 1632) 1371800747 -5.505749126116331 treat image : temp/1752295048_1726833_1371800648_e9f0e8ff0fff708401d26cbc8b6a59c4.jpg resize: (1080, 1632) 1371800648 -5.548692836267368 treat image : temp/1752295048_1726833_1371800645_7f6feec6cfeaf590f3fe728cbe28fd01.jpg resize: (1080, 1632) 1371800645 -5.541403426236166 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.014657258987426758 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.24703502655029297 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2899346351623535 save missing photos in datou_result : time spend for datou_step_exec : 14.876299381256104 time spend to save output : 0.5578532218933105 total time spend for step 1 : 15.434152603149414 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.53user 2.73system 0:21.27elapsed 81%CPU (0avgtext+0avgdata 138680maxresident)k 0inputs+10592outputs (0major+260058minor)pagefaults 0swaps