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 : 804423 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 : 564>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/804423/ 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.3279268741607666 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 Fri Jul 4 09:32: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/1751614347_804423_1370518647_269439e0c31a35e6fe47936af465b9bf.jpg resize: (1080, 1632) 1370518647 -5.984985943108495 treat image : temp/1751614347_804423_1370518635_e1947cd9bbb911665aaef035e0e38eb0.jpg resize: (1080, 1632) 1370518635 -5.981262411504084 treat image : temp/1751614347_804423_1370518628_f65257d6e95abf03ab992618bc5f8730.jpg resize: (1080, 1632) 1370518628 -5.970451578941148 treat image : temp/1751614347_804423_1370518619_95e67393581346ddeb38f6cfe532ad0d.jpg resize: (1080, 1632) 1370518619 -5.971089391911852 treat image : temp/1751614347_804423_1370518613_559c6b31e3cb218b75265ea7f3f0212e.jpg resize: (1080, 1632) 1370518613 -5.987379622697202 treat image : temp/1751614347_804423_1370518609_891fd6d0bee21fce68f8ca204dfe2e0d.jpg resize: (1080, 1632) 1370518609 -5.978734114078184 treat image : temp/1751614347_804423_1370518587_0217e32619da9bbc26488730aa2cffd8.jpg resize: (1080, 1632) 1370518587 -5.638414198122178 treat image : temp/1751614347_804423_1370518579_7eb0b1e2a63f87b1e73a211bec9d1a11.jpg resize: (1080, 1632) 1370518579 -5.570685682487177 treat image : temp/1751614347_804423_1370518574_27a2cc9782333577e97e996dc2936e80.jpg resize: (1080, 1632) 1370518574 -5.686047222419377 treat image : temp/1751614347_804423_1370518539_b0e656b54e27b4a832d3b29aea06b32c.jpg resize: (1080, 1632) 1370518539 -5.033140609905927 treat image : temp/1751614347_804423_1370518514_ad7a77f095d32d040d67427b4f0bb8fc.jpg resize: (1080, 1632) 1370518514 -4.942456557583804 treat image : temp/1751614347_804423_1370518500_f0e45c6051b413b9294965cbcafbd691.jpg resize: (1080, 1632) 1370518500 -4.91493234308758 treat image : temp/1751614347_804423_1370518451_d04d2844a547f3d467743cc0772d814b.jpg resize: (1080, 1632) 1370518451 -5.9756837798219 treat image : temp/1751614347_804423_1370518436_96d586e53b14d001908332974c5f47bf.jpg resize: (1080, 1632) 1370518436 -5.968173324500132 treat image : temp/1751614347_804423_1370518417_2e3cdf61969130c72b0a0a33c35ec424.jpg resize: (1080, 1632) 1370518417 -5.986093790659972 treat image : temp/1751614347_804423_1370518322_9aaea0cac9100feb5d0ab35c94e4353f.jpg resize: (1080, 1632) 1370518322 -5.983537104551373 treat image : temp/1751614347_804423_1370518311_be576059f61f18e28315afd1fc44c6d3.jpg resize: (1080, 1632) 1370518311 -5.9753779636106 treat image : temp/1751614347_804423_1370518299_41ab9ae21a8ec84fe84ca4990d46aebf.jpg resize: (1080, 1632) 1370518299 -5.97651654070979 treat image : temp/1751614347_804423_1370517339_50e332ab8276a0005e140513f9589ccd.jpg resize: (1080, 1632) 1370517339 -5.9673977918015675 treat image : temp/1751614347_804423_1370517303_3c9916620b47b79f3b84fd39114843fc.jpg resize: (1080, 1632) 1370517303 -5.970908182750489 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.013851404190063477 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.01476287841796875 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017438173294067383 save missing photos in datou_result : time spend for datou_step_exec : 16.45542025566101 time spend to save output : 0.052175045013427734 total time spend for step 1 : 16.50759530067444 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.59user 4.67system 0:21.99elapsed 87%CPU (0avgtext+0avgdata 137996maxresident)k 232inputs+10680outputs (6major+258808minor)pagefaults 0swaps