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 : 3945674 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 : 4398>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3945674/ 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.452707052230835 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 Jul 9 20:32: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/1752085948_3945674_1371430479_54d34102692fdb379e0a155845c52a47.jpg resize: (1080, 1632) 1371430479 -4.390392417861258 treat image : temp/1752085948_3945674_1371430477_ccb2db4e517cd076d5080608f2596dd9.jpg resize: (1080, 1632) 1371430477 -4.401652500405597 treat image : temp/1752085948_3945674_1371430475_d32101f0b2f6013b7f8e3589d6baa5f9.jpg resize: (1080, 1632) 1371430475 -4.420158523633561 treat image : temp/1752085948_3945674_1371430474_91b3589c454e63f0ad8db9cb9e55e799.jpg resize: (1080, 1632) 1371430474 -5.118064740521417 treat image : temp/1752085948_3945674_1371430473_232da0ccf074da056348e26f4f6c6745.jpg resize: (1080, 1632) 1371430473 -4.744287268837186 treat image : temp/1752085948_3945674_1371430472_b31d80b71993f21485fde07582508460.jpg resize: (1080, 1632) 1371430472 -0.4112262059661319 treat image : temp/1752085948_3945674_1371430471_417e05deeea60973c3a9059082f47f91.jpg resize: (1080, 1632) 1371430471 -4.83410206269861 treat image : temp/1752085948_3945674_1371430470_79e12935f997eface430eaf805fb725f.jpg resize: (1080, 1632) 1371430470 -4.829342029428588 treat image : temp/1752085948_3945674_1371430468_ca665f6aadf103c2bbcb1ba5e6dcb575.jpg resize: (1080, 1632) 1371430468 -4.819654074320104 treat image : temp/1752085948_3945674_1371430466_f34a1aa9518647c50d0dfbd86a5722ce.jpg resize: (1080, 1632) 1371430466 -4.8478913485153745 treat image : temp/1752085948_3945674_1371430464_80107c12848d3a9a8894dbfa3ae74d93.jpg resize: (1080, 1632) 1371430464 -4.827609456762915 treat image : temp/1752085948_3945674_1371430462_edc502d4cf6563890d71e8105e6fbc1b.jpg resize: (1080, 1632) 1371430462 -4.426935072551431 treat image : temp/1752085948_3945674_1371430458_e577863b4cedd851dbc4145efef7a8f7.jpg resize: (1080, 1632) 1371430458 -1.898902215399996 treat image : temp/1752085948_3945674_1371430457_f6d354861577ca614ae35f07a0829f72.jpg resize: (1080, 1632) 1371430457 -2.693458519061385 treat image : temp/1752085948_3945674_1371430456_2b6b290bb593cc996c1363ff8438236d.jpg resize: (1080, 1632) 1371430456 -2.7065787943581707 treat image : temp/1752085948_3945674_1371430455_8c36a7fe12a112a3d50210da0ff22d55.jpg resize: (1080, 1632) 1371430455 -2.7016852715586754 treat image : temp/1752085948_3945674_1371430454_13e638817b6ee9ce9e841a247a942aa8.jpg resize: (1080, 1632) 1371430454 -2.2931133268414796 treat image : temp/1752085948_3945674_1371430453_6202501029b37cd1fdf95d9f6fc217fe.jpg resize: (1080, 1632) 1371430453 -2.306304996667316 treat image : temp/1752085948_3945674_1371430450_3ef6cd7eaafc15944d3db6681e75c86c.jpg resize: (1080, 1632) 1371430450 -3.5567234434955037 treat image : temp/1752085948_3945674_1371430448_2a347937173af6889f4f408b65e22a7d.jpg resize: (1080, 1632) 1371430448 -4.567561105608051 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.013035297393798828 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.012035369873046875 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014787673950195312 save missing photos in datou_result : time spend for datou_step_exec : 13.153457403182983 time spend to save output : 0.04592752456665039 total time spend for step 1 : 13.199384927749634 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.27user 1.36system 0:19.55elapsed 79%CPU (0avgtext+0avgdata 141928maxresident)k 144inputs+8272outputs (17major+124483minor)pagefaults 0swaps