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 : 1293937 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 : 1161>100 please execute split_portfolio.py -i 25430353 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3381100'] with mtr_portfolio_ids : ['25430353'] and first list_photo_ids : [] new path : /proc/1293937/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.149472236633301 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 Tue Jul 29 03: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/1753753648_1293937_1374240270_e2e77fba3b089937fcea86686ef53e52.jpg resize: (1080, 1632) 1374240270 -5.019661882725159 treat image : temp/1753753648_1293937_1374240268_1bd1d325cb482715a64e8557a4a05372.jpg resize: (1080, 1632) 1374240268 -5.015433592270756 treat image : temp/1753753648_1293937_1374240267_bd57156ef106a29fd0843bf10bd59d78.jpg resize: (1080, 1632) 1374240267 -4.35697563127348 treat image : temp/1753753648_1293937_1374240266_52b4d6c071b0698878e221b624b3e081.jpg resize: (1080, 1632) 1374240266 -5.3327619450515735 treat image : temp/1753753648_1293937_1374240260_0c92f273d9d44e6a9872822c0f62af4e.jpg resize: (1080, 1632) 1374240260 -5.374157041478977 treat image : temp/1753753648_1293937_1374240246_2cb9539246c29d913715108753c92ce0.jpg resize: (1080, 1632) 1374240246 -5.3166354132184885 treat image : temp/1753753648_1293937_1374240230_99c54321a96f431b02f474cba8d8dc25.jpg resize: (1080, 1632) 1374240230 -5.423325999508638 treat image : temp/1753753648_1293937_1374240229_77004d05062b905f6f37cf62f4e9b879.jpg resize: (1080, 1632) 1374240229 -5.403028820026545 treat image : temp/1753753648_1293937_1374240225_6c47ceb0bf2fb1aeb9c9827e3f3c477f.jpg resize: (1080, 1632) 1374240225 -5.412676673830614 treat image : temp/1753753648_1293937_1374240223_fd41d47b51dc20f4f8f85387ad977185.jpg resize: (1080, 1632) 1374240223 -5.390056003709672 treat image : temp/1753753648_1293937_1374240212_b4f0dde9fede046396adaa8026dc21e3.jpg resize: (1080, 1632) 1374240212 -5.011815069463246 treat image : temp/1753753648_1293937_1374240210_026d7c38e4e2172522b70933e3f8a929.jpg resize: (1080, 1632) 1374240210 -5.001958721621308 treat image : temp/1753753648_1293937_1374240198_ea8489e42b6346853067eb29fed7481c.jpg resize: (1080, 1632) 1374240198 -4.4101651142772145 treat image : temp/1753753648_1293937_1374240194_78b4575da53c70d05acddc511cb2cc88.jpg resize: (1080, 1632) 1374240194 -4.411987467922354 treat image : temp/1753753648_1293937_1374240191_158e1080ce3d5b50a46aad4ed568432e.jpg resize: (1080, 1632) 1374240191 -4.3965361486820305 treat image : temp/1753753648_1293937_1374240190_3e6504f8dc4f45ba9f410fb4c1d19c61.jpg resize: (1080, 1632) 1374240190 -5.416349921683831 treat image : temp/1753753648_1293937_1374240188_5f8ea67cfd16af211098268af0ccf653.jpg resize: (1080, 1632) 1374240188 -5.421693398046421 treat image : temp/1753753648_1293937_1374240185_ab60fa643f9ae03cbb69c707b4a6469a.jpg resize: (1080, 1632) 1374240185 -5.4073472362714465 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 : 18 time used for this insertion : 0.014771699905395508 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.014984130859375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.017818927764892578 save missing photos in datou_result : time spend for datou_step_exec : 13.229764938354492 time spend to save output : 0.0521852970123291 total time spend for step 1 : 13.281950235366821 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.61user 2.94system 0:17.77elapsed 87%CPU (0avgtext+0avgdata 139504maxresident)k 72inputs+8544outputs (1major+220903minor)pagefaults 0swaps