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 : 274393 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 : 3949>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/274393/ 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.480435848236084 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 25 13:57: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/1753444647_274393_1373742555_24cbcf46287a21ff79f07ce9704280fe.jpg resize: (1080, 1632) 1373742555 -5.3091112583159905 treat image : temp/1753444647_274393_1373742523_9c5c8c47cbb85eb4496c8e05dda5d8c4.jpg resize: (1080, 1632) 1373742523 -5.32589289906439 treat image : temp/1753444647_274393_1373742492_eb05ac7d5368bd7a5d042e74e5470759.jpg resize: (1080, 1632) 1373742492 -4.97028955493158 treat image : temp/1753444647_274393_1373742475_28b241b65bd4cd060071df97045d15bf.jpg resize: (1080, 1632) 1373742475 -4.95795692465656 treat image : temp/1753444647_274393_1373742452_fa8641ef915c365a1c8d98a50f4ec793.jpg resize: (1080, 1632) 1373742452 -1.980782204323487 treat image : temp/1753444647_274393_1373742434_9a285af49c8cc3f7709f692d760b7d4a.jpg resize: (1080, 1632) 1373742434 -1.3206815312433005 treat image : temp/1753444647_274393_1373738558_1f3f5f8b85d27beb49d13bf6bdaf2425.jpg resize: (1080, 1632) 1373738558 -1.8932249566391857 treat image : temp/1753444647_274393_1373738553_7db7e8bd1d3546ba0a72ae3126894733.jpg resize: (1080, 1632) 1373738553 -4.68378246298172 treat image : temp/1753444647_274393_1373738550_41467f4bf7aad4a81f464d440c792d96.jpg resize: (1080, 1632) 1373738550 -5.162570044585113 treat image : temp/1753444647_274393_1373738547_53edbe43a25e78cc0a4a0a6e8a563d1a.jpg resize: (1080, 1632) 1373738547 -5.660817374526685 treat image : temp/1753444647_274393_1373738546_76fcf9ed385df93ae07c8de54b920624.jpg resize: (1080, 1632) 1373738546 -3.0585756391885353 treat image : temp/1753444647_274393_1373738542_8d6fadceee21f309b5fe449901f349b2.jpg resize: (1080, 1632) 1373738542 -5.695608513154362 treat image : temp/1753444647_274393_1373738540_49ab93ff9c6799e9fd9b8306039921cb.jpg resize: (1080, 1632) 1373738540 -4.05102093445635 treat image : temp/1753444647_274393_1373738535_eceda4eaa0867f3f5a5bdf3754caa9ff.jpg resize: (1080, 1632) 1373738535 -2.3681558870697805 treat image : temp/1753444647_274393_1373738532_f936568c2bad757fb2ebc02b7d920852.jpg resize: (1080, 1632) 1373738532 -4.4396545031145 treat image : temp/1753444647_274393_1373738529_41b440f8582197e959367c3c5d368dce.jpg resize: (1080, 1632) 1373738529 -3.2719590854522473 treat image : temp/1753444647_274393_1373738526_b1556d86847456f8be3dd77c1d42e525.jpg resize: (1080, 1632) 1373738526 -4.462996492683123 treat image : temp/1753444647_274393_1373738523_5388221fe1e5b3543d7c0f181fd1c300.jpg resize: (1080, 1632) 1373738523 -3.175539584472695 treat image : temp/1753444647_274393_1373738518_e73f598c1d5d31bd4f9bdbb8a7ed8b08.jpg resize: (1080, 1632) 1373738518 -2.521825425382508 treat image : temp/1753444647_274393_1373738516_b18d2926b86db5cb674ff6f7b5234f21.jpg resize: (1080, 1632) 1373738516 -2.677610758173056 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.011876583099365234 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.011906623840332031 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016780614852905273 save missing photos in datou_result : time spend for datou_step_exec : 17.329315662384033 time spend to save output : 0.045004844665527344 total time spend for step 1 : 17.37432050704956 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.95user 5.12system 0:22.51elapsed 89%CPU (0avgtext+0avgdata 138724maxresident)k 3032inputs+8408outputs (14major+259715minor)pagefaults 0swaps