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 : 470821 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 : 4791>100 please execute split_portfolio.py -i 19382293 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2460022'] with mtr_portfolio_ids : ['19382293'] and first list_photo_ids : [] new path : /proc/470821/ 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 : 3.097691297531128 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 Wed Mar 26 01:52:33 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/1742950350_470821_1333400623_65c52322d2d5bf161083a922a107feaf.jpg resize: (1080, 1632) 1333400623 4.864145432615158 treat image : temp/1742950350_470821_1333400619_2772f3d5e41578bfde932f89f76c31c3.jpg resize: (1080, 1632) 1333400619 4.923009880261741 treat image : temp/1742950350_470821_1333400609_a8f5399efc426a2d8601a9fb37da7f69.jpg resize: (1080, 1632) 1333400609 2.8429414369853974 treat image : temp/1742950350_470821_1333400601_ae5b47bed9384594ae721541fbab6fd2.jpg resize: (1080, 1632) 1333400601 5.786228499925561 treat image : temp/1742950350_470821_1333400552_e34a4edc17635e53e3833e2ef672df59.jpg resize: (1080, 1632) 1333400552 3.045394854081155 treat image : temp/1742950350_470821_1333400524_dbcf2af7686deb793d80a0f364661b2e.jpg resize: (1080, 1632) 1333400524 4.359119872570618 treat image : temp/1742950350_470821_1333400520_232730b2f74110c945705af375e00f3c.jpg resize: (1080, 1632) 1333400520 4.381117009086582 treat image : temp/1742950350_470821_1333400516_466772ab18539b5341c9d4cb413163d7.jpg resize: (1080, 1632) 1333400516 4.878675721180283 treat image : temp/1742950350_470821_1333400510_176a20944425b1ac57557df8ede17e1b.jpg resize: (1080, 1632) 1333400510 5.3559463328914525 treat image : temp/1742950350_470821_1333400504_09775e565dc746c160f2c7f0c055d308.jpg resize: (1080, 1632) 1333400504 5.056964612434027 treat image : temp/1742950350_470821_1333400498_e7f670be79f70273c2486508ab71230d.jpg resize: (1080, 1632) 1333400498 5.280896928969489 treat image : temp/1742950350_470821_1333400477_aaf388da1605910ff4dfb912ebc4a0cd.jpg resize: (1080, 1632) 1333400477 1.2786734992688138 treat image : temp/1742950350_470821_1333400464_7102c7a3308943731425d6aa2f6a72c8.jpg resize: (1080, 1632) 1333400464 -0.559755143983632 treat image : temp/1742950350_470821_1333400460_da234e835c4fbca081f85a81b6af05b5.jpg resize: (1080, 1632) 1333400460 0.32860762288244166 treat image : temp/1742950350_470821_1333400457_9c5efb7b4007cac04feb6b3a0b18aed0.jpg resize: (1080, 1632) 1333400457 0.9416246557628138 treat image : temp/1742950350_470821_1333400453_01b32760aba310f66abff7f0977d6a6c.jpg resize: (1080, 1632) 1333400453 0.517376307791772 treat image : temp/1742950350_470821_1333400447_20d94fdcdbdaef7883c1ce1547ddde41.jpg resize: (1080, 1632) 1333400447 3.901952173406358 treat image : temp/1742950350_470821_1333400419_aa9091b716f349092472b73864814d71.jpg resize: (1080, 1632) 1333400419 4.161888104266176 treat image : temp/1742950350_470821_1333400415_e1ae00e5671a0253e586dad13469426c.jpg resize: (1080, 1632) 1333400415 2.6886101100067297 treat image : temp/1742950350_470821_1333400411_3dade21db34a141352325fb37537f9b4.jpg resize: (1080, 1632) 1333400411 3.0485180440086674 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.02708888053894043 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.4133036136627197 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014908075332641602 save missing photos in datou_result : time spend for datou_step_exec : 14.928420782089233 time spend to save output : 0.46198177337646484 total time spend for step 1 : 15.390402555465698 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.66user 3.57system 0:22.68elapsed 76%CPU (0avgtext+0avgdata 138276maxresident)k 88inputs+3048outputs (3major+259376minor)pagefaults 0swaps