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 : 238053 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 : 1542>100 please execute split_portfolio.py -i 22151579 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2733389'] with mtr_portfolio_ids : ['22151579'] and first list_photo_ids : [] new path : /proc/238053/ 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.616159439086914 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 Apr 9 09:47: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/1744184847_238053_1350688359_0b801fadcda1a9576108ad2caf6b4f59.jpg resize: (1080, 1632) 1350688359 -5.371365047309801 treat image : temp/1744184847_238053_1350688334_babac3b59621a9394a454f348b58a591.jpg resize: (1080, 1632) 1350688334 -4.135962501071815 treat image : temp/1744184847_238053_1350688330_9c25bbad0c127c77db041e3eba4d10c4.jpg resize: (1080, 1632) 1350688330 -6.133976512414846 treat image : temp/1744184847_238053_1350688325_b63fc0b34121711be4be311fcaa31c18.jpg resize: (1080, 1632) 1350688325 -6.806129039371149 treat image : temp/1744184847_238053_1350688321_236dda212877cc151e21f3d3c9f252a6.jpg resize: (1080, 1632) 1350688321 -6.772358735784923 treat image : temp/1744184847_238053_1350688318_5ec9b292506bd5d8984eb288cab916d5.jpg resize: (1080, 1632) 1350688318 -5.736429852756735 treat image : temp/1744184847_238053_1350688314_a0d02f83051f5aa164469a4480718960.jpg resize: (1080, 1632) 1350688314 -4.7565303925573446 treat image : temp/1744184847_238053_1350688267_7e78e8ab6e67607c40343bac26bf3298.jpg resize: (1080, 1632) 1350688267 -5.562959255543957 treat image : temp/1744184847_238053_1350688263_b42907663b0d2d714e44108427e0280c.jpg resize: (1080, 1632) 1350688263 -2.799924174779858 treat image : temp/1744184847_238053_1350688258_44d7bd4ce62d00b3fbb232452d334384.jpg resize: (1080, 1632) 1350688258 -1.462709014357828 treat image : temp/1744184847_238053_1350688257_95e57f6841e2edefbd42fd6ab2c1c8aa.jpg resize: (1080, 1632) 1350688257 -1.4741011395578036 treat image : temp/1744184847_238053_1350683281_717a7de9b86af1bec91fa040f025f7e5.jpg resize: (1080, 1632) 1350683281 -5.409917936012151 treat image : temp/1744184847_238053_1350683277_f56d35b9a0ab86f77fca476652066e78.jpg resize: (1080, 1632) 1350683277 -3.5025998112206342 treat image : temp/1744184847_238053_1350683273_1ad14ae4c4c9aa83895a1ddf12b0b34e.jpg resize: (1080, 1632) 1350683273 -1.9498256558929985 treat image : temp/1744184847_238053_1350683252_dce5f23b65dc1b2fb056e48436640b12.jpg resize: (1080, 1632) 1350683252 -5.977557137795432 treat image : temp/1744184847_238053_1350683249_c2c4c5ca7c0911409d6f4eb18f9f5e1c.jpg resize: (1080, 1632) 1350683249 -6.157060646771058 treat image : temp/1744184847_238053_1350683244_662d2155d49de50edadc5a5af9539971.jpg resize: (1080, 1632) 1350683244 -5.979628189012122 treat image : temp/1744184847_238053_1350683239_108e7c69f7d760c0476763b4c36a9522.jpg resize: (1080, 1632) 1350683239 -4.357499304681774 treat image : temp/1744184847_238053_1350683233_598ac1bcff0b3c405f793f8dc28fb9ec.jpg resize: (1080, 1632) 1350683233 -5.556547968548137 treat image : temp/1744184847_238053_1350683227_0508a8ee5f8f620074c11bb968d84a74.jpg resize: (1080, 1632) 1350683227 -5.605999082950903 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.012637615203857422 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.012019872665405273 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015116691589355469 save missing photos in datou_result : time spend for datou_step_exec : 15.473955631256104 time spend to save output : 0.044458627700805664 total time spend for step 1 : 15.51841425895691 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.58user 3.35system 0:19.79elapsed 90%CPU (0avgtext+0avgdata 138232maxresident)k 168inputs+10056outputs (5major+253092minor)pagefaults 0swaps