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 : 2169290 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 : 3076>100 please execute split_portfolio.py -i 22126404 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2730774'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/2169290/ 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.0869908332824707 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 9 17:47: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/1744213647_2169290_1350658499_b3778e3286c625d62bd404cf17c294ff.jpg resize: (1080, 1632) 1350658499 -3.758304899563987 treat image : temp/1744213647_2169290_1350658495_340f146cb6e761feb7aa30e6993a370a.jpg resize: (1080, 1632) 1350658495 -5.5655888137128535 treat image : temp/1744213647_2169290_1350658464_ad1516d980a2a520343a16394017c200.jpg resize: (1080, 1632) 1350658464 -3.841126931074008 treat image : temp/1744213647_2169290_1350658460_baa850a091e847bc680ac8cec58f97c5.jpg resize: (1080, 1632) 1350658460 -5.593963920548453 treat image : temp/1744213647_2169290_1350658456_b104ce3c2e281ef367b98c686a4f1000.jpg resize: (1080, 1632) 1350658456 -6.431025124297537 treat image : temp/1744213647_2169290_1350658453_24c5a29fca4029ccea413013b2283da8.jpg resize: (1080, 1632) 1350658453 -6.4648564828078845 treat image : temp/1744213647_2169290_1350658420_9623dcaf29df3af8373158257d43145b.jpg resize: (1080, 1632) 1350658420 -5.467164672655154 treat image : temp/1744213647_2169290_1350658417_472e5fcd26bf3f89c6f64e16f18dacc4.jpg resize: (1080, 1632) 1350658417 -4.773011973557149 treat image : temp/1744213647_2169290_1350658414_720e3dee206ea0fba4a0e985bc373bf8.jpg resize: (1080, 1632) 1350658414 -1.282151288806675 treat image : temp/1744213647_2169290_1350658403_370886110abadb7b3429e3e760b40de6.jpg resize: (1080, 1632) 1350658403 -5.087426318641682 treat image : temp/1744213647_2169290_1350658394_4af61d7d1f279fc9cf8614409fb18f0e.jpg resize: (1080, 1632) 1350658394 -5.400352085246984 treat image : temp/1744213647_2169290_1350658386_fcad1a87718d291ae09c05e529098eac.jpg resize: (1080, 1632) 1350658386 -5.7529151435588926 treat image : temp/1744213647_2169290_1350658371_f7dc7aacffbf82afff7b00f0f44d48fe.jpg resize: (1080, 1632) 1350658371 -5.775914331690521 treat image : temp/1744213647_2169290_1350658368_ffbeec0c768f52fb7647cabbb3cdc79c.jpg resize: (1080, 1632) 1350658368 -5.4063447556672575 treat image : temp/1744213647_2169290_1350658365_20e89f86f19f47aeae36d196fe07b7ff.jpg resize: (1080, 1632) 1350658365 -5.707758726758749 treat image : temp/1744213647_2169290_1350658334_a03379832b1b15e287f493a3e0083cc9.jpg resize: (1080, 1632) 1350658334 -1.2278015627110805 treat image : temp/1744213647_2169290_1350658327_59e1f92e15a157b0517cdf360580b599.jpg resize: (1080, 1632) 1350658327 -4.956108739573876 treat image : temp/1744213647_2169290_1350658321_777c607d86b1794818402584df9a6615.jpg resize: (1080, 1632) 1350658321 -4.406550196372607 treat image : temp/1744213647_2169290_1350658316_e746824ff5be3285fd8ea4897653b86b.jpg resize: (1080, 1632) 1350658316 -4.463368547251757 treat image : temp/1744213647_2169290_1350658314_0d97d4ee9e46cf9b73b88d150b7559b8.jpg resize: (1080, 1632) 1350658314 -5.907810614924984 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.7762291431427002 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.0197906494140625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020058631896972656 save missing photos in datou_result : time spend for datou_step_exec : 16.94706702232361 time spend to save output : 0.8207197189331055 total time spend for step 1 : 17.767786741256714 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.31user 5.06system 0:22.62elapsed 85%CPU (0avgtext+0avgdata 139648maxresident)k 1080inputs+10064outputs (14major+256040minor)pagefaults 0swaps