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 : 354054 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 : 4995>100 please execute split_portfolio.py -i 24661193 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3243209'] with mtr_portfolio_ids : ['24661193'] and first list_photo_ids : [] new path : /proc/354054/ 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.245943069458008 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 Mon Jul 7 19:02: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/1751907748_354054_1371056839_32fac7ec0cd52f2c18778bf715ebe14a.jpg resize: (1080, 1632) 1371056839 -3.33842085549112 treat image : temp/1751907748_354054_1371056833_600737731d96e330c0053addb9d86c11.jpg resize: (1080, 1632) 1371056833 -3.33842085549112 treat image : temp/1751907748_354054_1371056774_c53bcd3298bff5b3a29f3f7b26dfb668.jpg resize: (1080, 1632) 1371056774 -4.4120605103438235 treat image : temp/1751907748_354054_1371056768_aeda31aecbac81143d0f4e6948a5960d.jpg resize: (1080, 1632) 1371056768 -4.4120605103438235 treat image : temp/1751907748_354054_1371056738_4f031a3f44b71617f67bb20874991f3f.jpg resize: (1080, 1632) 1371056738 -3.464148353622058 treat image : temp/1751907748_354054_1371056730_ae3fc1d7a9a70947ca10b5547d73fdca.jpg resize: (1080, 1632) 1371056730 -3.464148353622058 treat image : temp/1751907748_354054_1371056696_259c4916c357ca7bdaefa9881e8d241e.jpg resize: (1080, 1632) 1371056696 -5.221736196989873 treat image : temp/1751907748_354054_1371056695_9005b596245f6eef77b9a09716ef5bed.jpg resize: (1080, 1632) 1371056695 -5.221736196989873 treat image : temp/1751907748_354054_1371056658_36dacece3b536fdec946bd7dbe100104.jpg resize: (1080, 1632) 1371056658 -5.232766840670448 treat image : temp/1751907748_354054_1371056656_e721617885b8ae067b1880debd2fcb37.jpg resize: (1080, 1632) 1371056656 -5.232766840670448 treat image : temp/1751907748_354054_1371056618_5f43304d5ebf31d81486bceff2218204.jpg resize: (1080, 1632) 1371056618 -5.418315745763208 treat image : temp/1751907748_354054_1371056617_79066ed46b8b22223381eb71a60f9020.jpg resize: (1080, 1632) 1371056617 -5.418315745763208 treat image : temp/1751907748_354054_1371056458_51663d46238338c432906e99f2d3d762.jpg resize: (1080, 1632) 1371056458 -5.737853330473649 treat image : temp/1751907748_354054_1371056409_07e736824d7fd0ed1ec2068cc4487ee2.jpg resize: (1080, 1632) 1371056409 -5.898952378157278 treat image : temp/1751907748_354054_1371056364_5b9bcc4c4b4e16a7c89896fceaa6f4cb.jpg resize: (1080, 1632) 1371056364 -3.578975821890975 treat image : temp/1751907748_354054_1371056313_9f76fa9a2898a023101830aa3ee98d80.jpg resize: (1080, 1632) 1371056313 -5.692046351844766 treat image : temp/1751907748_354054_1371056276_e4ac8e9d003479dea9f5574098135139.jpg resize: (1080, 1632) 1371056276 -5.538562881988232 treat image : temp/1751907748_354054_1371056065_67820411bd91e416bdbc9ff3ea5a191b.jpg resize: (1080, 1632) 1371056065 -5.3081278889717405 treat image : temp/1751907748_354054_1371056033_0a0ebb4b750300dc337a9513aab78410.jpg resize: (1080, 1632) 1371056033 -0.8465739208135982 treat image : temp/1751907748_354054_1371055993_cb7e116f07086f387d0366454435f3c7.jpg resize: (1080, 1632) 1371055993 -0.798186800100409 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.014782428741455078 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.0154571533203125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016374826431274414 save missing photos in datou_result : time spend for datou_step_exec : 15.43794322013855 time spend to save output : 0.05168581008911133 total time spend for step 1 : 15.489629030227661 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.23user 4.22system 0:19.94elapsed 92%CPU (0avgtext+0avgdata 138700maxresident)k 88inputs+9160outputs (4major+251090minor)pagefaults 0swaps