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 : 2741775 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 : 785>100 please execute split_portfolio.py -i 20528746 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2584364'] with mtr_portfolio_ids : ['20528746'] and first list_photo_ids : [] new path : /proc/2741775/ 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.1814467906951904 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 Fri Feb 14 03:52: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/1739501548_2741775_1337512342_ccb1cf6ca72f166d7aa01b58cbfe5e97.jpg resize: (1080, 1632) 1337512342 -3.569546786983082 treat image : temp/1739501548_2741775_1337512341_f16e741c77c691d166506ed0a2ff4497.jpg resize: (1080, 1632) 1337512341 -2.542113799785785 treat image : temp/1739501548_2741775_1337512329_11dacb9ac5b8199c033f79ad4ab6821a.jpg resize: (1080, 1632) 1337512329 -3.3394862932726515 treat image : temp/1739501548_2741775_1337512328_e0b35c5c306a6676f3114a8eecc3aa27.jpg resize: (1080, 1632) 1337512328 -4.508991403315714 treat image : temp/1739501548_2741775_1337512327_278b1724d2061a8be08735d76ffd6dbb.jpg resize: (1080, 1632) 1337512327 -5.667402588336193 treat image : temp/1739501548_2741775_1337512326_62e6f6c1ed9467b6e47ff58ced01d80f.jpg resize: (1080, 1632) 1337512326 -5.491355865571974 treat image : temp/1739501548_2741775_1337512325_66d1a3a655db21a16002aabc24906179.jpg resize: (1080, 1632) 1337512325 -5.377805416438117 treat image : temp/1739501548_2741775_1337512314_26baf03b037f9b381fd879198db7385c.jpg resize: (1080, 1632) 1337512314 -5.928304430095098 treat image : temp/1739501548_2741775_1337512312_4904b78e0629cb8875191d1ee41af73e.jpg resize: (1080, 1632) 1337512312 -6.009295497953202 treat image : temp/1739501548_2741775_1337512311_786986bbc2b11a3f94c017d67f87f3c0.jpg resize: (1080, 1632) 1337512311 -5.871797420812535 treat image : temp/1739501548_2741775_1337512310_347b9f47aad84535751d964577b1b064.jpg resize: (1080, 1632) 1337512310 -5.171383549903877 treat image : temp/1739501548_2741775_1337512309_83679f1cbeabd9c489e224d749528bb3.jpg resize: (1080, 1632) 1337512309 -4.874438664815641 treat image : temp/1739501548_2741775_1337512308_60d311a081d25f85211429e8c0424504.jpg resize: (1080, 1632) 1337512308 -5.294343675649997 treat image : temp/1739501548_2741775_1337512296_8b478e1a51772afe8fab1302c9c8412e.jpg resize: (1080, 1632) 1337512296 -2.5574762831901694 treat image : temp/1739501548_2741775_1337512295_6f043821fc391e347054147fd2ee4dbf.jpg resize: (1080, 1632) 1337512295 -3.007639778317831 treat image : temp/1739501548_2741775_1337512294_406477ba5c587db56abe672e35796930.jpg resize: (1080, 1632) 1337512294 -5.545095227606712 treat image : temp/1739501548_2741775_1337512293_a0510d5637fe0f1361c6e671fe0ae21e.jpg resize: (1080, 1632) 1337512293 -5.211366616747139 treat image : temp/1739501548_2741775_1337512262_31eb59d0a4b96ff72d16d5dae0d3ab69.jpg resize: (1080, 1632) 1337512262 -4.233591999311161 treat image : temp/1739501548_2741775_1337512261_950898fa21bc01bb6b5f1e542c2d653b.jpg resize: (1080, 1632) 1337512261 -5.540945911335357 treat image : temp/1739501548_2741775_1337512260_c4ae49821686b8c401a9bb358775833c.jpg resize: (1080, 1632) 1337512260 -5.885030031739179 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.016430139541625977 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.24744749069213867 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.34090495109558105 save missing photos in datou_result : time spend for datou_step_exec : 12.884344339370728 time spend to save output : 0.6103711128234863 total time spend for step 1 : 13.494715452194214 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.96user 1.64system 0:18.48elapsed 84%CPU (0avgtext+0avgdata 140420maxresident)k 80inputs+9632outputs (11major+120235minor)pagefaults 0swaps