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 : 2148057 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 : 1607>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/2148057/ 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.730370044708252 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 Mon May 12 12: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/1747045948_2148057_1357624447_10422f208b27bf4f21b4bede25e28ef4.jpg resize: (1080, 1632) 1357624447 -6.059863978212111 treat image : temp/1747045948_2148057_1357617818_afb6e030c938e6184cc7b847cf9f6391.jpg resize: (1080, 1632) 1357617818 -2.333143301732525 treat image : temp/1747045948_2148057_1357616977_9973a40c3cb3f0ef19547a6e26742520.jpg resize: (1080, 1632) 1357616977 -5.893127153449684 treat image : temp/1747045948_2148057_1357616499_830071d6a1af8cf96e6b2b1994c33e2e.jpg resize: (1080, 1632) 1357616499 -5.715490007313851 treat image : temp/1747045948_2148057_1357616496_d04248448b1c52907b2ab601766e9974.jpg resize: (1080, 1632) 1357616496 -5.68460455475267 treat image : temp/1747045948_2148057_1357616489_52af09605abc6f7c97548267e26054db.jpg resize: (1080, 1632) 1357616489 -5.876915977330206 treat image : temp/1747045948_2148057_1357616487_87e97fa8929fa146a3e6810abdbe2949.jpg resize: (1080, 1632) 1357616487 -3.973555455275355 treat image : temp/1747045948_2148057_1357616485_b04ad2016a7133ee0a4ddd1a25cc8bea.jpg resize: (1080, 1632) 1357616485 -3.3385725832445923 treat image : temp/1747045948_2148057_1357616483_6db5cccfd2f3a43d20b65fed1fe752a1.jpg resize: (1080, 1632) 1357616483 -5.42625175747364 treat image : temp/1747045948_2148057_1357616204_7e9ba287749409b0043765162c8f29b5.jpg resize: (1080, 1632) 1357616204 -5.985503151231876 treat image : temp/1747045948_2148057_1357616200_018ddfea8ec7976c50913e3969f788cd.jpg resize: (1080, 1632) 1357616200 -5.962248762537977 treat image : temp/1747045948_2148057_1357616194_4768aa3d0a3928abc72937c1916dbe4c.jpg resize: (1080, 1632) 1357616194 -5.9533058717587055 treat image : temp/1747045948_2148057_1357616191_0cadbb4d556f4a7b59d5f173b4c2729c.jpg resize: (1080, 1632) 1357616191 -6.340420267121196 treat image : temp/1747045948_2148057_1357614803_dbf8e1fd75e85e938a101f7fa3f9e1ba.jpg resize: (1080, 1632) 1357614803 -4.187348959746614 treat image : temp/1747045948_2148057_1357614798_ac8d26022bd4a05653cc4ae95c8a20fd.jpg resize: (1080, 1632) 1357614798 -6.1169866194192455 treat image : temp/1747045948_2148057_1357614795_1ace8c12fe2b015d60aa3a33626bc061.jpg resize: (1080, 1632) 1357614795 -3.421207095924359 treat image : temp/1747045948_2148057_1357614786_25a0b756a8618bc52dde00dd9ddea8e9.jpg resize: (1080, 1632) 1357614786 -1.141514843790912 treat image : temp/1747045948_2148057_1357614782_2e2fcba07a2b22ff4cb495a3f0aaa98a.jpg resize: (1080, 1632) 1357614782 -2.6711599013927314 treat image : temp/1747045948_2148057_1357614751_b3376d1772dd9f9aba03c7d39d539f39.jpg resize: (1080, 1632) 1357614751 -5.5303559061224625 treat image : temp/1747045948_2148057_1357614746_7cc116bc05e36bed084545ecf4426fb8.jpg resize: (1080, 1632) 1357614746 -5.928698739082991 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.01468658447265625 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.013018131256103516 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016011476516723633 save missing photos in datou_result : time spend for datou_step_exec : 16.275290727615356 time spend to save output : 0.04868030548095703 total time spend for step 1 : 16.323971033096313 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.36user 4.21system 0:22.37elapsed 83%CPU (0avgtext+0avgdata 141124maxresident)k 3128inputs+10448outputs (25major+261701minor)pagefaults 0swaps