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 : 1136139 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/1136139/ 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.1753015518188477 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 Jul 19 05:22: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/1752895347_1136139_1372311750_529b17092cfdaf99451522f883f227d7.jpg resize: (1080, 1632) 1372311750 -5.067536903534944 treat image : temp/1752895347_1136139_1372311747_d47463998be15fb362ed69db69bce77b.jpg resize: (1080, 1632) 1372311747 -6.7354223954725585 treat image : temp/1752895347_1136139_1372311741_89fc03a66e9dd515aa5bfed9f1ac41e2.jpg resize: (1080, 1632) 1372311741 -5.400600286617934 treat image : temp/1752895347_1136139_1372311736_dbb169320a6f6dc1225c3a261bca5315.jpg resize: (1080, 1632) 1372311736 -4.800277161405816 treat image : temp/1752895347_1136139_1372311734_e8cd7340c48b3f27f3257cda1b51cb35.jpg resize: (1080, 1632) 1372311734 -4.956444777346086 treat image : temp/1752895347_1136139_1372311724_178df318d682ef4aba62729b8e642953.jpg resize: (1080, 1632) 1372311724 -4.563145223137702 treat image : temp/1752895347_1136139_1372311698_3b48d74dab5657f5bb4a1e4d88d6501f.jpg resize: (1080, 1632) 1372311698 -5.443530009447029 treat image : temp/1752895347_1136139_1372311696_adc1bd2f27028c4dbf074a08a5bebcfb.jpg resize: (1080, 1632) 1372311696 -3.7276831302097895 treat image : temp/1752895347_1136139_1372311691_1b5de896169ec3dfe09eba06b1648880.jpg resize: (1080, 1632) 1372311691 -1.4678716894880741 treat image : temp/1752895347_1136139_1372311687_0f293c8890d76aa19c18408c8f8bcb34.jpg resize: (1080, 1632) 1372311687 -2.247431599798074 treat image : temp/1752895347_1136139_1372311683_88da23c9821b7e61242f9c04ce09d2ed.jpg resize: (1080, 1632) 1372311683 -2.2114087140051537 treat image : temp/1752895347_1136139_1372311673_4c12b8cad844a421f708b8c3c3cb4264.jpg resize: (1080, 1632) 1372311673 -1.6475923465963072 treat image : temp/1752895347_1136139_1372311651_ed226ee6c44693b94db2ca0fc7364369.jpg resize: (1080, 1632) 1372311651 -5.488157922608246 treat image : temp/1752895347_1136139_1372311645_8b8f7cc075984f8378dac4ebc226180f.jpg resize: (1080, 1632) 1372311645 -5.56509385551967 treat image : temp/1752895347_1136139_1372311639_d0b6ee2ff9d0ee4037d055788ed269fc.jpg resize: (1080, 1632) 1372311639 -5.434675988945729 treat image : temp/1752895347_1136139_1372311635_0008100b745fc27b09f7c5e1c73bf3f7.jpg resize: (1080, 1632) 1372311635 -5.472469299162642 treat image : temp/1752895347_1136139_1372311631_66a9094d82fde5ba065848bb52969f14.jpg resize: (1080, 1632) 1372311631 -4.880523879027669 treat image : temp/1752895347_1136139_1372311621_82127d4ac87f9491c869aa093ccbfe4f.jpg resize: (1080, 1632) 1372311621 -4.747553247700425 treat image : temp/1752895347_1136139_1372311603_71ced53e03d88f01f2cd53359e995170.jpg resize: (1080, 1632) 1372311603 -5.644436112199025 treat image : temp/1752895347_1136139_1372311597_782fdc8a7d7599fc687822d04c8038a5.jpg resize: (1080, 1632) 1372311597 -2.8812263555846283 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.015667200088500977 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.12096405029296875 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021018505096435547 save missing photos in datou_result : time spend for datou_step_exec : 15.83119010925293 time spend to save output : 0.16275835037231445 total time spend for step 1 : 15.993948459625244 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.31user 3.73system 0:20.86elapsed 86%CPU (0avgtext+0avgdata 137980maxresident)k 64inputs+9456outputs (11major+253469minor)pagefaults 0swaps