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 : 1896647 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 : 366>100 please execute split_portfolio.py -i 21370538 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2664544'] with mtr_portfolio_ids : ['21370538'] and first list_photo_ids : [] new path : /proc/1896647/ 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.025907039642334 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 Mar 13 07: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/1741846948_1896647_1343716469_d11dc4f0fad207fc5cdd040b6431567d.jpg resize: (1080, 1632) 1343716469 -0.9951040351081477 treat image : temp/1741846948_1896647_1343716463_5f3adf3e4ac6182e94edb4cf47f76f67.jpg resize: (1080, 1632) 1343716463 -2.286588707705819 treat image : temp/1741846948_1896647_1343716450_2b0f82d477861d89e831d929c1d5793a.jpg resize: (1080, 1632) 1343716450 -0.9028166154891749 treat image : temp/1741846948_1896647_1343716447_bde0c91939b9d3c777ad1d6656feb347.jpg resize: (1080, 1632) 1343716447 -0.9786290993122583 treat image : temp/1741846948_1896647_1343716434_ea30b7f33c4c8a85262815b89c7b0270.jpg resize: (1080, 1632) 1343716434 -1.2276700947222479 treat image : temp/1741846948_1896647_1343716430_1593aaa3870c228783e50df21f9a70c5.jpg resize: (1080, 1632) 1343716430 -1.5990476846712922 treat image : temp/1741846948_1896647_1343716426_3bb63e0c62111dd64beeba56b2da513f.jpg resize: (1080, 1632) 1343716426 -2.4226714033141126 treat image : temp/1741846948_1896647_1343716420_832567ac4657b7980ac258425b2616d3.jpg resize: (1080, 1632) 1343716420 -1.821562315673953 treat image : temp/1741846948_1896647_1343716411_5a0b2de2162d82ee7ae4d131d5ca0249.jpg resize: (1080, 1632) 1343716411 -2.464309034214051 treat image : temp/1741846948_1896647_1343716391_d96f04daafd94c82adde62dcb756f860.jpg resize: (1080, 1632) 1343716391 -1.289398992238564 treat image : temp/1741846948_1896647_1343716255_35fe91918b6df0f61db0047982c94d53.jpg resize: (1080, 1632) 1343716255 -1.8906331066273587 treat image : temp/1741846948_1896647_1343716253_546a21e12f5c10d99645ba5409694315.jpg resize: (1080, 1632) 1343716253 -1.0203490854911865 treat image : temp/1741846948_1896647_1343716246_1d98f78699c7005a86088df0e183ea8b.jpg resize: (1080, 1632) 1343716246 -1.910697102350398 treat image : temp/1741846948_1896647_1343716240_40bd66e340d2e179f7fa1a4edea00a6d.jpg resize: (1080, 1632) 1343716240 -1.050172391353899 treat image : temp/1741846948_1896647_1343716223_589903de02b5649f196493066d22814b.jpg resize: (1080, 1632) 1343716223 -1.8017577798406346 treat image : temp/1741846948_1896647_1343716221_9bbcd9c81635fcff6a43e58f0b1a1c8e.jpg resize: (1080, 1632) 1343716221 -0.8435217466474414 treat image : temp/1741846948_1896647_1343716219_a4bc58b402b25f67d759798825b5a8c3.jpg resize: (1080, 1632) 1343716219 -1.7623927707157192 treat image : temp/1741846948_1896647_1343716216_63af8a0cada398fca33ec861ad373ff3.jpg resize: (1080, 1632) 1343716216 -1.9644748412155884 treat image : temp/1741846948_1896647_1343716213_38ceebc8845dd842c2c7c17778df3e2a.jpg resize: (1080, 1632) 1343716213 -1.8624283193220004 treat image : temp/1741846948_1896647_1343716211_cda8ffbfb76652d90231cfc54f0f5ba1.jpg resize: (1080, 1632) 1343716211 -1.989315940917748 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.013681411743164062 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.599658727645874 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 1.7836651802062988 save missing photos in datou_result : time spend for datou_step_exec : 17.134878396987915 time spend to save output : 2.40153169631958 total time spend for step 1 : 19.536410093307495 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.81user 4.74system 0:24.46elapsed 79%CPU (0avgtext+0avgdata 139780maxresident)k 160inputs+6544outputs (8major+237254minor)pagefaults 0swaps