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 : 2641995 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 : 2985>100 please execute split_portfolio.py -i 21089077 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2640530'] with mtr_portfolio_ids : ['21089077'] and first list_photo_ids : [] new path : /proc/2641995/ 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.684441566467285 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 Thu Mar 6 17:47: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/1741279649_2641995_1341270505_393c3564e776171753f39e516430b247.jpg resize: (1080, 1632) 1341270505 -5.5952047136306 treat image : temp/1741279649_2641995_1341270504_9c897d3eaba7f148cdf2b5f6cd0616f6.jpg resize: (1080, 1632) 1341270504 -2.1309632471227538 treat image : temp/1741279649_2641995_1341270501_990979e7bb3c421b4e77f31d84337ba3.jpg resize: (1080, 1632) 1341270501 -1.9972705339058892 treat image : temp/1741279649_2641995_1341270500_3053e6f81682a0b407bb00929598fc03.jpg resize: (1080, 1632) 1341270500 -3.7650191124304975 treat image : temp/1741279649_2641995_1341270498_a903fc77fe20a12b55bfffbaaf66ea4a.jpg resize: (1080, 1632) 1341270498 -4.674703537230799 treat image : temp/1741279649_2641995_1341270496_9c3db9b508a89e13cfa6a4a84cb49de2.jpg resize: (1080, 1632) 1341270496 -4.400654759187305 treat image : temp/1741279649_2641995_1341270487_43b5311a45c64f48115b6c2395d7af5e.jpg resize: (1080, 1632) 1341270487 -5.557539496356199 treat image : temp/1741279649_2641995_1341270483_7f87579015be5c4a041dcc717cfba308.jpg resize: (1080, 1632) 1341270483 -5.420499730086675 treat image : temp/1741279649_2641995_1341270478_811f69b53df64a01b5fbd253cf3301b3.jpg resize: (1080, 1632) 1341270478 -5.76704408923188 treat image : temp/1741279649_2641995_1341270472_e93a9b30de4f7333da28d481730c81a5.jpg resize: (1080, 1632) 1341270472 -5.831467061512288 treat image : temp/1741279649_2641995_1341270467_3d62a44f414f9ad8b9c321433e2f07af.jpg resize: (1080, 1632) 1341270467 -5.704629303508537 treat image : temp/1741279649_2641995_1341270462_1caddfde24b02155ce8653cad7a37036.jpg resize: (1080, 1632) 1341270462 -5.884292810133892 treat image : temp/1741279649_2641995_1341270453_e104a64a8e9920606f7bb2eb1aa28cae.jpg resize: (1080, 1632) 1341270453 -5.929302637449541 treat image : temp/1741279649_2641995_1341270451_6b67c3fbdcafe24ae6f1f848c794063a.jpg resize: (1080, 1632) 1341270451 -5.929302637449541 treat image : temp/1741279649_2641995_1341270450_9c4b71c7bf7e4a2edf3b9e68a6b1c3ec.jpg resize: (1080, 1632) 1341270450 -6.032957518205779 treat image : temp/1741279649_2641995_1341270449_0ad00896fb10f9cdef63c77175e4c9f6.jpg resize: (1080, 1632) 1341270449 -6.032957518205779 treat image : temp/1741279649_2641995_1341270448_a7bac75f22d772577c8ac2f70140c2b7.jpg resize: (1080, 1632) 1341270448 -6.292901429650712 treat image : temp/1741279649_2641995_1341270447_f9806b7ce41939777eab2305d60596b1.jpg resize: (1080, 1632) 1341270447 -6.292901429650712 treat image : temp/1741279649_2641995_1341270445_33dceb2927a3e6782018b4166509e917.jpg resize: (1080, 1632) 1341270445 -5.524127931068962 treat image : temp/1741279649_2641995_1341270444_9cd4acc33a09130a49fd8916f68ac06d.jpg resize: (1080, 1632) 1341270444 -5.524127931068962 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.014145374298095703 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.013099908828735352 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.07769918441772461 save missing photos in datou_result : time spend for datou_step_exec : 15.826225996017456 time spend to save output : 0.1100473403930664 total time spend for step 1 : 15.936273336410522 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 4.10system 0:22.42elapsed 82%CPU (0avgtext+0avgdata 140520maxresident)k 272inputs+10504outputs (13major+260333minor)pagefaults 0swaps