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 : 658010 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 : 5447>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/658010/ 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.8510305881500244 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 Jul 17 16:17: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/1752761850_658010_1372458429_63496e3d80b511533e8a8420ada9f850.jpg resize: (1080, 1632) 1372458429 -3.8811606862536854 treat image : temp/1752761850_658010_1372458406_d74cb6c1a63ca05d848f84bc99ff506a.jpg resize: (1080, 1632) 1372458406 -2.9871560499062215 treat image : temp/1752761850_658010_1372458383_c97e7c2b80c3a40c302ef4f8e7d52108.jpg resize: (1080, 1632) 1372458383 -4.109596237909922 treat image : temp/1752761850_658010_1372458363_3413d4fc265a8c53e35a20e55b13b6ec.jpg resize: (1080, 1632) 1372458363 -4.415389366836219 treat image : temp/1752761850_658010_1372458339_9c6a354ee70e752392a1119324be742d.jpg resize: (1080, 1632) 1372458339 -5.670539868243081 treat image : temp/1752761850_658010_1372458315_069d5c9810a510eda5a5b901cc6abe70.jpg resize: (1080, 1632) 1372458315 -5.574761599775365 treat image : temp/1752761850_658010_1372338877_ddc6bbf205a9412d512082edf4b5aaa5.jpg resize: (1080, 1632) 1372338877 -4.802703184335532 treat image : temp/1752761850_658010_1372338875_d4beaa1e16699a80b007e75c02185887.jpg resize: (1080, 1632) 1372338875 -4.804142809771142 treat image : temp/1752761850_658010_1372338873_6cfe712ed5890d0b958e5e7895b22df8.jpg resize: (1080, 1632) 1372338873 -4.800597309784201 treat image : temp/1752761850_658010_1372338872_4ae536894e523218136645ddf5a6612f.jpg resize: (1080, 1632) 1372338872 -4.808759677309448 treat image : temp/1752761850_658010_1372338870_afa303330b18b17c706b30dd5205023a.jpg resize: (1080, 1632) 1372338870 -4.804462599686024 treat image : temp/1752761850_658010_1372338868_f62e9c03144f1e2ba54b13a15b9b9c33.jpg resize: (1080, 1632) 1372338868 -4.804329442502333 treat image : temp/1752761850_658010_1372338853_b3bb2052120b21dd974b349a05982802.jpg resize: (1080, 1632) 1372338853 -4.798914057576191 treat image : temp/1752761850_658010_1372338850_b418d33dd2a5e6d0649a4cb688efb479.jpg resize: (1080, 1632) 1372338850 -4.80117937199063 treat image : temp/1752761850_658010_1372338847_182d3c9cd3ea1459a232c6cb58aba739.jpg resize: (1080, 1632) 1372338847 -4.795335616646564 treat image : temp/1752761850_658010_1372338843_c29f01bce6e01c66ca1694f2e0689bc1.jpg resize: (1080, 1632) 1372338843 -4.7996606305948 treat image : temp/1752761850_658010_1372338841_c9fac6cea0e3d68ba4b8c77b9f37c261.jpg resize: (1080, 1632) 1372338841 -4.798558766348624 treat image : temp/1752761850_658010_1372338838_eb6cb427a17af8a28e58e6f05cb9ef96.jpg resize: (1080, 1632) 1372338838 -4.799414605969217 treat image : temp/1752761850_658010_1372338827_c44d14ff62f036cb781696a25de23b6a.jpg resize: (1080, 1632) 1372338827 -4.799961035851881 treat image : temp/1752761850_658010_1372338826_ec2942748fca43022c631f80d980f3dd.jpg resize: (1080, 1632) 1372338826 -4.803155562264442 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.03691554069519043 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.0352022647857666 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03566336631774902 save missing photos in datou_result : time spend for datou_step_exec : 18.2299063205719 time spend to save output : 0.12331771850585938 total time spend for step 1 : 18.35322403907776 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.09user 6.42system 0:25.46elapsed 80%CPU (0avgtext+0avgdata 138704maxresident)k 32inputs+9400outputs (2major+261918minor)pagefaults 0swaps