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 : 1427759 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 : 2822>100 please execute split_portfolio.py -i 22246422 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2741568'] with mtr_portfolio_ids : ['22246422'] and first list_photo_ids : [] new path : /proc/1427759/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 1.9961411952972412 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 Apr 11 19:02:32 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/1744390950_1427759_1351835928_cad4729f328b6ad3af2cc3ce1534e4fb.jpg resize: (1080, 1632) 1351835928 -6.060278620116336 treat image : temp/1744390950_1427759_1351835860_f16b9b08797cfe127ca9b9bd358cbbf2.jpg resize: (1080, 1632) 1351835860 -5.854862182900219 treat image : temp/1744390950_1427759_1351835801_e532b32cea23be61fe8a06f2376f718f.jpg resize: (1080, 1632) 1351835801 -2.0251639831624666 treat image : temp/1744390950_1427759_1351835745_cbea78d82c802d5d35f123864bb37981.jpg resize: (1080, 1632) 1351835745 -1.8845355668255712 treat image : temp/1744390950_1427759_1351835216_6a3ffa4ae03bc2c90dbdda58c9855356.jpg resize: (1080, 1632) 1351835216 -5.25397483674332 treat image : temp/1744390950_1427759_1351834996_3ccb8016bd5fafdca9432b9d49d4d785.jpg resize: (1080, 1632) 1351834996 -6.1519152164119095 treat image : temp/1744390950_1427759_1351834838_a084240309992f4fae4678157ee30f2c.jpg resize: (1080, 1632) 1351834838 -6.485847978701342 treat image : temp/1744390950_1427759_1351834674_5000ebbf90161eb690aa61ec94b092a1.jpg resize: (1080, 1632) 1351834674 -5.615209252192363 treat image : temp/1744390950_1427759_1351834634_907d712bf9f1581d6704c20637bdbcc0.jpg resize: (1080, 1632) 1351834634 -6.516494974867731 treat image : temp/1744390950_1427759_1351834605_dc66215755e74f499883c0e33dbc74e2.jpg resize: (1080, 1632) 1351834605 -5.585030781887913 treat image : temp/1744390950_1427759_1351834577_b744346f55c15c71be741a9283000767.jpg resize: (1080, 1632) 1351834577 -1.4051461849060032 treat image : temp/1744390950_1427759_1351834499_846fd54502240b7bfdb3d6ab2bba1c2a.jpg resize: (1080, 1632) 1351834499 -2.118329789068561 treat image : temp/1744390950_1427759_1351834463_8af0dc06267e342652d6fb697dcce207.jpg resize: (1080, 1632) 1351834463 -3.5577622364246526 treat image : temp/1744390950_1427759_1351834421_464d8b5555eb354efdf99253f0ad3fd5.jpg resize: (1080, 1632) 1351834421 -6.564924328189146 treat image : temp/1744390950_1427759_1351834395_26b5cabaf4045ada3858b733f1e0ae1f.jpg resize: (1080, 1632) 1351834395 -6.176604303784681 treat image : temp/1744390950_1427759_1351834362_de4ea76eeaca0f3c408e7b1271869ffd.jpg resize: (1080, 1632) 1351834362 -6.525066684813081 treat image : temp/1744390950_1427759_1351834333_d2cfe2ffa6a7018c939bdb4abf5e8859.jpg resize: (1080, 1632) 1351834333 -6.548584146098263 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 : 17 time used for this insertion : 1.752202033996582 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.27205681800842285 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.015944719314575195 save missing photos in datou_result : time spend for datou_step_exec : 14.325879573822021 time spend to save output : 2.0451536178588867 total time spend for step 1 : 16.371033191680908 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 17 set_done_treatment 12.69user 3.99system 0:22.79elapsed 73%CPU (0avgtext+0avgdata 138968maxresident)k 80inputs+9296outputs (13major+197643minor)pagefaults 0swaps