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 : 3103372 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 : 1053>100 please execute split_portfolio.py -i 20624335 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2594849'] with mtr_portfolio_ids : ['20624335'] and first list_photo_ids : [] new path : /proc/3103372/ 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.552018642425537 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 Feb 18 10:22: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/1739870545_3103372_1338309368_47991428007546578b34ed1c871d1cc6.jpg resize: (1080, 1632) 1338309368 -5.661636384151673 treat image : temp/1739870545_3103372_1338309344_f202aacc810a17cc5b2c9c4bdab46868.jpg resize: (1080, 1632) 1338309344 -3.339780975347661 treat image : temp/1739870545_3103372_1338309342_8d9b7a60576a5518402e8204bd707da8.jpg resize: (1080, 1632) 1338309342 -1.6097212724738408 treat image : temp/1739870545_3103372_1338309341_c80f5fb8791acc8245414d6485e58029.jpg resize: (1080, 1632) 1338309341 -1.5701288234105886 treat image : temp/1739870545_3103372_1338309302_97c3259401d607c294c83cc23ed4f8d6.jpg resize: (1080, 1632) 1338309302 -4.953547758116122 treat image : temp/1739870545_3103372_1338309299_037d0a3e07d80a57d490bcf392b3a6c3.jpg resize: (1080, 1632) 1338309299 -2.1548386840398153 treat image : temp/1739870545_3103372_1338309297_ad1a7f3868779475795461f555bc6f44.jpg resize: (1080, 1632) 1338309297 -5.721678608702029 treat image : temp/1739870545_3103372_1338309293_c9d27e70e5a5d760ad7ac99bbccb4ab6.jpg resize: (1080, 1632) 1338309293 -5.740010086598525 treat image : temp/1739870545_3103372_1338309291_da61a35458539aad0668470ff435e1d6.jpg resize: (1080, 1632) 1338309291 -5.22517899608194 treat image : temp/1739870545_3103372_1338296999_8ac8c1b7734b0abfdbc9039dad23882a.jpg resize: (1080, 1632) 1338296999 -1.9303781480897002 treat image : temp/1739870545_3103372_1338296997_7eac4ca8ace8bab2d126e836e4770504.jpg resize: (1080, 1632) 1338296997 -2.5539421371362248 treat image : temp/1739870545_3103372_1338296982_5571344a00afdb037379dc43998f730f.jpg resize: (1080, 1632) 1338296982 -6.187980532976901 treat image : temp/1739870545_3103372_1338296978_6c4b2d79634e067114822c1b64b522e7.jpg resize: (1080, 1632) 1338296978 -5.212936548508384 treat image : temp/1739870545_3103372_1338296976_f7664799aa30ca4b178f52df6c2f205c.jpg resize: (1080, 1632) 1338296976 -5.254921857880486 treat image : temp/1739870545_3103372_1338296973_c767de4530b6dc406bf2784e16351e21.jpg resize: (1080, 1632) 1338296973 -4.981364866924125 treat image : temp/1739870545_3103372_1338296971_da1701da96653c71528e0bd82ae15ea4.jpg resize: (1080, 1632) 1338296971 -5.936132839127387 treat image : temp/1739870545_3103372_1338296970_8f61748b65d1559dad107fb3b6415e06.jpg resize: (1080, 1632) 1338296970 -5.269927068660947 treat image : temp/1739870545_3103372_1338296954_aac26f6cba5e23cf0034dea1eb9d0b01.jpg resize: (1080, 1632) 1338296954 -1.3463190077485834 treat image : temp/1739870545_3103372_1338296950_a24e5df6dac95771816c2e469494ed4d.jpg resize: (1080, 1632) 1338296950 -1.9408077670783055 treat image : temp/1739870545_3103372_1338296947_699ed9108461348dfb57a793ed355e92.jpg resize: (1080, 1632) 1338296947 -6.423198760318652 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.01352691650390625 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.01294398307800293 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015935182571411133 save missing photos in datou_result : time spend for datou_step_exec : 18.004785537719727 time spend to save output : 0.04703402519226074 total time spend for step 1 : 18.051819562911987 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.40user 6.39system 0:21.95elapsed 94%CPU (0avgtext+0avgdata 139352maxresident)k 2560inputs+9208outputs (33major+221802minor)pagefaults 0swaps