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 : 1386663 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 : 2322>100 please execute split_portfolio.py -i 21608215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2682218'] with mtr_portfolio_ids : ['21608215'] and first list_photo_ids : [] new path : /proc/1386663/ 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 : 1.9611139297485352 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 Sat Mar 22 15:17:28 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/1742653046_1386663_1346440259_582d9bfe3e4b53068574829cb1afe199.jpg resize: (1080, 1632) 1346440259 -6.239469150094379 treat image : temp/1742653046_1386663_1346440257_f02402cfee7d7ed1fd9e076c1883af39.jpg resize: (1080, 1632) 1346440257 -6.3186480475365325 treat image : temp/1742653046_1386663_1346440242_1a431b91dca6b3713c587fe645143eac.jpg resize: (1080, 1632) 1346440242 -6.362136884839651 treat image : temp/1742653046_1386663_1346440227_f8170cb3665d85cf9358a8dd6798ffaf.jpg resize: (1080, 1632) 1346440227 -6.402216138475823 treat image : temp/1742653046_1386663_1346440221_9d1d7af3bc7ff5f67d38fda805becc87.jpg resize: (1080, 1632) 1346440221 -5.506026941747048 treat image : temp/1742653046_1386663_1346440207_50ddaef2c736aa631d10f72a402976c8.jpg resize: (1080, 1632) 1346440207 -5.443806617786664 treat image : temp/1742653046_1386663_1346440155_ae6e2e2ac2fdb9af86300c1967f87647.jpg resize: (1080, 1632) 1346440155 -4.366072034979973 treat image : temp/1742653046_1386663_1346440152_ef75598548e9ff9e8ac5b653ae373420.jpg resize: (1080, 1632) 1346440152 -5.578760646546335 treat image : temp/1742653046_1386663_1346440145_a3e16556dcebc87cfca6781d67b26ec2.jpg resize: (1080, 1632) 1346440145 -5.724825359817029 treat image : temp/1742653046_1386663_1346440136_f95d84aded0017ae92a87dcaeec50c49.jpg resize: (1080, 1632) 1346440136 -3.9195935367853942 treat image : temp/1742653046_1386663_1346440112_0f13c6b91bcc70370e323d19833203ba.jpg resize: (1080, 1632) 1346440112 -5.72451481200022 treat image : temp/1742653046_1386663_1346440097_fd51944da57621944b9e8f26027876eb.jpg resize: (1080, 1632) 1346440097 -5.7685018893711835 treat image : temp/1742653046_1386663_1346440066_2deabcc5a5cdc769b6876a2fac135f53.jpg resize: (1080, 1632) 1346440066 -5.501170206289016 treat image : temp/1742653046_1386663_1346440065_757384d992bfd99f46179d279a31b8b6.jpg resize: (1080, 1632) 1346440065 -5.501170206289016 treat image : temp/1742653046_1386663_1346440063_b08203e954ceef96fd176439edba4f0d.jpg resize: (1080, 1632) 1346440063 -5.1964045510755446 treat image : temp/1742653046_1386663_1346440062_420a41dff5896c330a8eb517b080536c.jpg resize: (1080, 1632) 1346440062 -5.1964045510755446 treat image : temp/1742653046_1386663_1346440059_f30b864c6713f31fa00145aafd6f7c41.jpg resize: (1080, 1632) 1346440059 -2.4516793633901455 treat image : temp/1742653046_1386663_1346440058_7017faffe9f00389d3967a540b43f6f7.jpg resize: (1080, 1632) 1346440058 -2.4516793633901455 treat image : temp/1742653046_1386663_1346440053_669fd05a8565473687668e162cf28cbd.jpg resize: (1080, 1632) 1346440053 -3.246121376989511 treat image : temp/1742653046_1386663_1346440051_45a1b9438f496dabf4e3f55cd2580ac1.jpg resize: (1080, 1632) 1346440051 -3.246121376989511 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.012637853622436523 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.012066841125488281 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014831781387329102 save missing photos in datou_result : time spend for datou_step_exec : 14.241594791412354 time spend to save output : 0.04419827461242676 total time spend for step 1 : 14.28579306602478 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.64user 3.01system 0:18.06elapsed 92%CPU (0avgtext+0avgdata 139756maxresident)k 0inputs+10248outputs (27major+259895minor)pagefaults 0swaps