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 : 1345851 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 : 1238>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/1345851/ 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.3238162994384766 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 May 13 06:22:31 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/1747110149_1345851_1357770230_9d6d98c0ccf05d873b42a7c22730edee.jpg resize: (1080, 1632) 1357770230 -3.9622952278901713 treat image : temp/1747110149_1345851_1357770229_168fbaf504f978730a9fb8aaa16fd7a8.jpg resize: (1080, 1632) 1357770229 -2.850660485918232 treat image : temp/1747110149_1345851_1357770227_702586e3f0d244b07039820fa6c465b3.jpg resize: (1080, 1632) 1357770227 -1.3210928939739388 treat image : temp/1747110149_1345851_1357770207_6ee4e515fa9b4fcf482fcead5f43df66.jpg resize: (1080, 1632) 1357770207 -5.700169295418767 treat image : temp/1747110149_1345851_1357770205_be6793565c14765c51e219f6ca99e8fb.jpg resize: (1080, 1632) 1357770205 -5.581485363116913 treat image : temp/1747110149_1345851_1357770204_5b4daf0db3972b5f81a2bc152a9fb3f5.jpg resize: (1080, 1632) 1357770204 -5.874122945297048 treat image : temp/1747110149_1345851_1357770202_2b26ae4db526c5fbcd31075e519a9707.jpg resize: (1080, 1632) 1357770202 -6.220764937486452 treat image : temp/1747110149_1345851_1357770200_ae5d2e43ae70080028fff9aac1ed9147.jpg resize: (1080, 1632) 1357770200 -6.112837622230776 treat image : temp/1747110149_1345851_1357770180_b69e36d11d7dad41aeaa243612c3904b.jpg resize: (1080, 1632) 1357770180 -5.39160327811128 treat image : temp/1747110149_1345851_1357770178_ec040930d220105a3c6401a650237238.jpg resize: (1080, 1632) 1357770178 -4.030327157368627 treat image : temp/1747110149_1345851_1357770176_b70632c2478c7e4c81ab299950d5c388.jpg resize: (1080, 1632) 1357770176 -5.09327671664985 treat image : temp/1747110149_1345851_1357770175_58c188a6aab2a982fa2cb4706619c610.jpg resize: (1080, 1632) 1357770175 -5.586160549725873 treat image : temp/1747110149_1345851_1357770174_d67b8d43d744d3e5f7d5ec7a3fc96a83.jpg resize: (1080, 1632) 1357770174 -5.516304396312297 treat image : temp/1747110149_1345851_1357770172_e5c26288addb21eebeeb54041aa47840.jpg resize: (1080, 1632) 1357770172 -5.698437414094701 treat image : temp/1747110149_1345851_1357770151_31ff74fcd195c345cad25e7317483e3a.jpg resize: (1080, 1632) 1357770151 -1.2437370092761775 treat image : temp/1747110149_1345851_1357770149_97eeb31afdad23a599684431d04f91e3.jpg resize: (1080, 1632) 1357770149 -1.4659269954003646 treat image : temp/1747110149_1345851_1357770147_8505f8e900cb3f5cc55947525ee01011.jpg resize: (1080, 1632) 1357770147 -4.617221497092505 treat image : temp/1747110149_1345851_1357770144_eadab4182b17ff25fe15f0eb0509c74d.jpg resize: (1080, 1632) 1357770144 -3.9839063872910954 treat image : temp/1747110149_1345851_1357770113_ef6119e8903598eee5349654cd84ff23.jpg resize: (1080, 1632) 1357770113 -3.336098483857849 treat image : temp/1747110149_1345851_1357770111_011284200d79925780e662f770eeef58.jpg resize: (1080, 1632) 1357770111 -6.074242183295836 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.012526750564575195 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.10409808158874512 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03890395164489746 save missing photos in datou_result : time spend for datou_step_exec : 16.361950397491455 time spend to save output : 0.17248773574829102 total time spend for step 1 : 16.534438133239746 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.85user 4.38system 0:22.57elapsed 85%CPU (0avgtext+0avgdata 139232maxresident)k 5520inputs+9760outputs (22major+260450minor)pagefaults 0swaps