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 : 3300091 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 : 810>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/3300091/ 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.1853857040405273 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 14:37: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/1752064648_3300091_1371378127_d3f960f76fb55d2feb3038c4a1025992.jpg resize: (1080, 1632) 1371378127 -4.399902063027709 treat image : temp/1752064648_3300091_1371378111_4c737bb9c83ee71377e5be27e1902c00.jpg resize: (1080, 1632) 1371378111 -4.408010083285173 treat image : temp/1752064648_3300091_1371378108_4eefe7b205757bc0b1ce7aa1a597a801.jpg resize: (1080, 1632) 1371378108 -4.41731398903161 treat image : temp/1752064648_3300091_1371378098_7cfeb3ecb1292648b3857a900ed70666.jpg resize: (1080, 1632) 1371378098 -4.426918988442811 treat image : temp/1752064648_3300091_1371378095_1ebe97b04a752f50d2038e84711ff3dd.jpg resize: (1080, 1632) 1371378095 -4.433364141607729 treat image : temp/1752064648_3300091_1371378086_dd8cc9cfd4e02da02b363b431a972e26.jpg resize: (1080, 1632) 1371378086 -4.443924639572296 treat image : temp/1752064648_3300091_1371377965_decfcf73b37637f021fe9c87a53efa67.jpg resize: (1080, 1632) 1371377965 -5.163323247405667 treat image : temp/1752064648_3300091_1371377963_304b82c2eb787a647c7cf1baff4956ca.jpg resize: (1080, 1632) 1371377963 -5.154045777736446 treat image : temp/1752064648_3300091_1371377962_3867a52f2da1ce2ea9633e2e8e58c799.jpg resize: (1080, 1632) 1371377962 -4.953129646620104 treat image : temp/1752064648_3300091_1371377952_d3facec173266275a2a5d1dbd3f43cb2.jpg resize: (1080, 1632) 1371377952 -5.271513380520141 treat image : temp/1752064648_3300091_1371377938_030af34495565bbff065192712048310.jpg resize: (1080, 1632) 1371377938 -4.6275929081839955 treat image : temp/1752064648_3300091_1371377935_92742eeb4b0378518d812a91888f88f0.jpg resize: (1080, 1632) 1371377935 -4.63002494828966 treat image : temp/1752064648_3300091_1371377925_525f1e47b3abc26301f104fc9ff51663.jpg resize: (1080, 1632) 1371377925 -4.623796137280341 treat image : temp/1752064648_3300091_1371377922_0cd2f702587b3df91ae72051b20b4c62.jpg resize: (1080, 1632) 1371377922 -4.635161157375367 treat image : temp/1752064648_3300091_1371377920_6488b334ba34ca0f03e32bc934c1e2fe.jpg resize: (1080, 1632) 1371377920 -4.63791189555986 treat image : temp/1752064648_3300091_1371377912_bb7b0af9b3ee17bc102ad34702173323.jpg resize: (1080, 1632) 1371377912 -4.63609758006187 treat image : temp/1752064648_3300091_1371377902_795c7b68147cff1d1486e81b86c86f25.jpg resize: (1080, 1632) 1371377902 -4.809806810505277 treat image : temp/1752064648_3300091_1371377898_f7cc1c25564f6897199087032a64ba6e.jpg resize: (1080, 1632) 1371377898 -4.663947402191493 treat image : temp/1752064648_3300091_1371377889_80d5fe909700a1dc54e3d982d47e7647.jpg resize: (1080, 1632) 1371377889 -4.66373574427956 treat image : temp/1752064648_3300091_1371377887_7ca973a77ba7e69cc06f94f11ca9699d.jpg resize: (1080, 1632) 1371377887 -4.667548075287879 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.012585639953613281 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.012025594711303711 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.012973785400390625 save missing photos in datou_result : time spend for datou_step_exec : 18.06522798538208 time spend to save output : 0.0425107479095459 total time spend for step 1 : 18.107738733291626 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.64user 5.98system 0:23.44elapsed 87%CPU (0avgtext+0avgdata 139792maxresident)k 136inputs+9000outputs (16major+198035minor)pagefaults 0swaps