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 : 1911805 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 : 3144>100 please execute split_portfolio.py -i 22109363 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2728262'] with mtr_portfolio_ids : ['22109363'] and first list_photo_ids : [] new path : /proc/1911805/ 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.3973569869995117 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 Thu Apr 17 19:02: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/1744909348_1911805_1350784428_3c3c2dc4e5b506d0ef325406b670ef49.jpg resize: (1080, 1632) 1350784428 -4.890160567103317 treat image : temp/1744909348_1911805_1350784410_7c11b30cb62ba5e0aa91eb8ed3c29a15.jpg resize: (1080, 1632) 1350784410 -4.816596558715652 treat image : temp/1744909348_1911805_1350784351_38fa4f567019367df3b2886e44967950.jpg resize: (1080, 1632) 1350784351 -5.002495749376738 treat image : temp/1744909348_1911805_1350784268_5a7bf08950ab11a0dd9fc47baee9604b.jpg resize: (1080, 1632) 1350784268 -5.1583415282266785 treat image : temp/1744909348_1911805_1350784181_f4f24ee9f706f40aaed7e7d625c9c550.jpg resize: (1080, 1632) 1350784181 -5.046818374006144 treat image : temp/1744909348_1911805_1350784111_073f0257e4dfec35bfb99d537f74224e.jpg resize: (1080, 1632) 1350784111 -5.188441554445221 treat image : temp/1744909348_1911805_1350783697_bbf756bdb8035fd01a42b58f14709f00.jpg resize: (1080, 1632) 1350783697 -4.371727335235714 treat image : temp/1744909348_1911805_1350783630_17738ec1e4fdfdb048bd4ee06cc69754.jpg resize: (1080, 1632) 1350783630 -2.9833313902724465 treat image : temp/1744909348_1911805_1350783569_f6554257a5aa8adb137d24e6137a6612.jpg resize: (1080, 1632) 1350783569 -3.651534552085277 treat image : temp/1744909348_1911805_1350783483_2e5679458b5af00953cc9f10828149cc.jpg resize: (1080, 1632) 1350783483 -4.958809258266211 treat image : temp/1744909348_1911805_1350783403_cb65958c725c1feefe12bef45544cf29.jpg resize: (1080, 1632) 1350783403 -2.8939164172778256 treat image : temp/1744909348_1911805_1350783171_c49e9d92177c92a1c9a3bf6318d3394f.jpg resize: (1080, 1632) 1350783171 -2.184038559845992 treat image : temp/1744909348_1911805_1350783093_a2759435eacf08f103e7f22cf68b2e76.jpg resize: (1080, 1632) 1350783093 -1.4287168342594567 treat image : temp/1744909348_1911805_1350768678_a0cd53079ec2d7fac2ab2f053907534c.jpg resize: (1080, 1632) 1350768678 -1.5174871934782554 treat image : temp/1744909348_1911805_1350768649_ca5847fef58342387a935f77cba2e501.jpg resize: (1080, 1632) 1350768649 -2.258382638712594 treat image : temp/1744909348_1911805_1350768499_098c13fa3f809ae02e46745fab078035.jpg resize: (1080, 1632) 1350768499 -5.683033670725079 treat image : temp/1744909348_1911805_1350768466_acee7a0eb9eac7c7a9b41e3aa604ba3e.jpg resize: (1080, 1632) 1350768466 -6.265952913216766 treat image : temp/1744909348_1911805_1350768416_a8da9471bdc127d189540cb86f59d6e9.jpg resize: (1080, 1632) 1350768416 -3.636925481927701 treat image : temp/1744909348_1911805_1350768058_e7dca031e9ba8aae6187a9e54ea9954f.jpg resize: (1080, 1632) 1350768058 -5.6201672315271125 treat image : temp/1744909348_1911805_1350768005_9bf1ab32e28757f2375938a6745ecb5c.jpg resize: (1080, 1632) 1350768005 -4.198156773969923 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.01397395133972168 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.012709856033325195 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014896154403686523 save missing photos in datou_result : time spend for datou_step_exec : 33.16352939605713 time spend to save output : 0.04654860496520996 total time spend for step 1 : 33.21007800102234 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.79user 20.85system 0:38.99elapsed 91%CPU (0avgtext+0avgdata 140484maxresident)k 160inputs+8968outputs (0major+245497minor)pagefaults 0swaps