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 : 1543972 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 : 2199>100 please execute split_portfolio.py -i 22700488 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2795252'] with mtr_portfolio_ids : ['22700488'] and first list_photo_ids : [] new path : /proc/1543972/ 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.3972561359405518 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 Tue May 6 18:52:28 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/1746550346_1543972_1356382945_06783d93420e4b363144922e0d86580c.jpg resize: (1080, 1632) 1356382945 -4.491239279184638 treat image : temp/1746550346_1543972_1356382942_3ee97c9625141e5e3bf5e895860949ba.jpg resize: (1080, 1632) 1356382942 -2.6476323503485344 treat image : temp/1746550346_1543972_1356382939_32d970b261cfb51d9e030d0cacc2b156.jpg resize: (1080, 1632) 1356382939 -3.8263290922713047 treat image : temp/1746550346_1543972_1356382914_2473dfd01303f950b427746718471f1e.jpg resize: (1080, 1632) 1356382914 -3.5377019888664103 treat image : temp/1746550346_1543972_1356382857_2126ba9d264dacf3af9ae1fc4a75d432.jpg resize: (1080, 1632) 1356382857 -3.796085878673585 treat image : temp/1746550346_1543972_1356382852_b7cd92334d50c4cc3a4399212f0825dd.jpg resize: (1080, 1632) 1356382852 -0.7646095348204157 treat image : temp/1746550346_1543972_1356382830_980ab08babcf15ffc19315c83b451027.jpg resize: (1080, 1632) 1356382830 -1.6279080968672703 treat image : temp/1746550346_1543972_1356382813_dcd8eae6c61edcfc4eb72b97fee2a4ad.jpg resize: (1080, 1632) 1356382813 -1.4394384294803335 treat image : temp/1746550346_1543972_1356382811_0832c71d81f536a5e435f90ab6148bef.jpg resize: (1080, 1632) 1356382811 -1.2655679096613914 treat image : temp/1746550346_1543972_1356382807_37fa8ce5795b1270c2c84e676be90a9e.jpg resize: (1080, 1632) 1356382807 -3.9213627651707776 treat image : temp/1746550346_1543972_1356382802_4c02a158f3b865fe81ec452ce4844c43.jpg resize: (1080, 1632) 1356382802 -4.789477759733593 treat image : temp/1746550346_1543972_1356382795_1ec8df2e8b0ce78c1d3d2093e03c3ab6.jpg resize: (1080, 1632) 1356382795 -4.969814962765285 treat image : temp/1746550346_1543972_1356382543_98b6fe5e4a8e72f56bfe3a2e406053ab.jpg resize: (1080, 1632) 1356382543 -1.5586943418264978 treat image : temp/1746550346_1543972_1356382537_97cc9c277c0d7683ca10b5f70ec927b0.jpg resize: (1080, 1632) 1356382537 -2.534025429137476 treat image : temp/1746550346_1543972_1356382530_2a97aac8fda6158699949ccdc90a378f.jpg resize: (1080, 1632) 1356382530 -4.332616354105858 treat image : temp/1746550346_1543972_1356382526_bc72bfe9ac5bddb0515919204974199a.jpg resize: (1080, 1632) 1356382526 -3.5282079760032348 treat image : temp/1746550346_1543972_1356382513_a8574d9caa2246b147d69e96da961175.jpg resize: (1080, 1632) 1356382513 -5.6540711450373555 treat image : temp/1746550346_1543972_1356382504_ac7e080f4e0cb3a968c19f9652cd39f9.jpg resize: (1080, 1632) 1356382504 -4.373594546087831 treat image : temp/1746550346_1543972_1356382500_fc8e5ba16831cbc646c3e7933f0439e4.jpg resize: (1080, 1632) 1356382500 -4.104366642621289 treat image : temp/1746550346_1543972_1356382494_eb1ba635ad939e26c77bf7dd2420eb86.jpg resize: (1080, 1632) 1356382494 -4.352434764923274 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.01245737075805664 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.012094497680664062 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014890193939208984 save missing photos in datou_result : time spend for datou_step_exec : 16.354044675827026 time spend to save output : 0.044640541076660156 total time spend for step 1 : 16.398685216903687 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.92user 4.12system 0:20.48elapsed 92%CPU (0avgtext+0avgdata 142200maxresident)k 136inputs+8552outputs (4major+170035minor)pagefaults 0swaps