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 : 821889 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 : 7752>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/821889/ 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.247105598449707 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 Jul 10 05:57:29 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/1752119847_821889_1371478669_be098a9a9ff19fde0a3b2990db9ad299.jpg resize: (1080, 1632) 1371478669 -5.478458800878075 treat image : temp/1752119847_821889_1371478667_8383c3fbae5ca26c4aa3bcad86cbf72c.jpg resize: (1080, 1632) 1371478667 -5.874659186352646 treat image : temp/1752119847_821889_1371478666_6f0e9942344eee5783410a153ba8ffa9.jpg resize: (1080, 1632) 1371478666 -5.954836161089454 treat image : temp/1752119847_821889_1371478665_54008f903fa633119cad3e77c4798ef1.jpg resize: (1080, 1632) 1371478665 -5.278072023522315 treat image : temp/1752119847_821889_1371478663_9f677d417a7cb3cf2bba5fb768eff2f0.jpg resize: (1080, 1632) 1371478663 -4.825088786315448 treat image : temp/1752119847_821889_1371478662_f3f1bdaff2680f5986955181f38f23dc.jpg resize: (1080, 1632) 1371478662 -4.790971188408659 treat image : temp/1752119847_821889_1371478652_52b8cc301b851af8d729df9a538b4896.jpg resize: (1080, 1632) 1371478652 -4.766576051435535 treat image : temp/1752119847_821889_1371478651_74b2aa06503a627313c544b6a07ce6e2.jpg resize: (1080, 1632) 1371478651 -5.048809650356255 treat image : temp/1752119847_821889_1371478650_d3a6230060377d25027f15f1c002afa4.jpg resize: (1080, 1632) 1371478650 -3.4290313670779944 treat image : temp/1752119847_821889_1371478649_c7bd386483e181257616a17fd1fb600e.jpg resize: (1080, 1632) 1371478649 -5.750696042234062 treat image : temp/1752119847_821889_1371478647_80cb20aa8d48858251095149c0fe2c4c.jpg resize: (1080, 1632) 1371478647 -4.843004701327809 treat image : temp/1752119847_821889_1371478646_7ea989cd8fa2c543fdc1b8d0f9810b9d.jpg resize: (1080, 1632) 1371478646 -1.533058481449962 treat image : temp/1752119847_821889_1371478630_10f7a28516185cecc41ec54825b86f23.jpg resize: (1080, 1632) 1371478630 -2.41356484194425 treat image : temp/1752119847_821889_1371478629_139144f9738d837a6695b9d7774e405e.jpg resize: (1080, 1632) 1371478629 -3.3813595492765343 treat image : temp/1752119847_821889_1371478626_1207a01b53fa71593993a49afbd2f9a0.jpg resize: (1080, 1632) 1371478626 -2.4067341591980256 treat image : temp/1752119847_821889_1371478624_3381abcece8e5c82e2c096baeda9bfcf.jpg resize: (1080, 1632) 1371478624 -0.7891919921015601 treat image : temp/1752119847_821889_1371478622_7c6569b3afe64f7c404e4a7485f1e52a.jpg resize: (1080, 1632) 1371478622 -3.84522108248363 treat image : temp/1752119847_821889_1371478620_3a0d3cccad53f3be9efd7e87a2d2ced1.jpg resize: (1080, 1632) 1371478620 -2.780914369977669 treat image : temp/1752119847_821889_1371478602_45fc668c0e54a5702d79e3fe897a5c06.jpg resize: (1080, 1632) 1371478602 -5.640237856638899 treat image : temp/1752119847_821889_1371478601_82c8c476dcf22d72b191765f39a58c63.jpg resize: (1080, 1632) 1371478601 -4.680686969554898 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.03580451011657715 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.1847844123840332 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.046999454498291016 save missing photos in datou_result : time spend for datou_step_exec : 14.994077682495117 time spend to save output : 0.272843599319458 total time spend for step 1 : 15.266921281814575 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.93user 3.67system 0:20.01elapsed 88%CPU (0avgtext+0avgdata 139484maxresident)k 0inputs+9296outputs (4major+257684minor)pagefaults 0swaps