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 : 3704034 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 : 5982>100 please execute split_portfolio.py -i 24901762 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3277872'] with mtr_portfolio_ids : ['24901762'] and first list_photo_ids : [] new path : /proc/3704034/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.032747507095337 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 Mon Jul 14 22:32:29 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/1752525147_3704034_1372136923_9c2191124aa9ef380bc6a06eda3889f3.jpg resize: (1080, 1632) 1372136923 -5.6565575254003555 treat image : temp/1752525147_3704034_1372136920_e6ac9aaa96950c9499aed573075bf5f1.jpg resize: (1080, 1632) 1372136920 -5.662492411211776 treat image : temp/1752525147_3704034_1372136919_ea8d953fb9e71bcfb290bc82e6c5c417.jpg resize: (1080, 1632) 1372136919 -5.6562765543108275 treat image : temp/1752525147_3704034_1372136918_0ac8b3d30985fb6184aad713d3731196.jpg resize: (1080, 1632) 1372136918 -5.658331560824285 treat image : temp/1752525147_3704034_1372136917_43b4bfd0fa077fbc18428eedaa99c00a.jpg resize: (1080, 1632) 1372136917 -5.652791440333229 treat image : temp/1752525147_3704034_1372136916_c0bd81e03d1c4f3189e7d02fa0a50e85.jpg resize: (1080, 1632) 1372136916 -5.6518269580085265 treat image : temp/1752525147_3704034_1372136911_2d42bd3439f2bac57f5bdbc7834d3be5.jpg resize: (1080, 1632) 1372136911 -5.653459578930761 treat image : temp/1752525147_3704034_1372136909_7ec3a7195864dd9bb636e286ef452e1b.jpg resize: (1080, 1632) 1372136909 -5.650534222706886 treat image : temp/1752525147_3704034_1372136908_996b48e8c70d93ca335b8c7504c25013.jpg resize: (1080, 1632) 1372136908 -5.652920834267432 treat image : temp/1752525147_3704034_1372136907_3133219e7712c98ca2c7c38e224e5ed8.jpg resize: (1080, 1632) 1372136907 -5.6595797724788195 treat image : temp/1752525147_3704034_1372136906_2e970de8fb50c67949c68ce11c9061f8.jpg resize: (1080, 1632) 1372136906 -5.656348079305504 treat image : temp/1752525147_3704034_1372136905_f7b797c1c75564ebedcedbf12ac92450.jpg resize: (1080, 1632) 1372136905 -5.660690622212053 treat image : temp/1752525147_3704034_1372136892_b6bf89cf3d40c5033abd98f98da486d3.jpg resize: (1080, 1632) 1372136892 -5.6526113455929465 treat image : temp/1752525147_3704034_1372136890_424c92511b34e7bf5d607ef0fdd3a994.jpg resize: (1080, 1632) 1372136890 -5.651434175319101 treat image : temp/1752525147_3704034_1372136889_978e026567f5cf68d9a8d73c9212bd38.jpg resize: (1080, 1632) 1372136889 -5.654869886380965 treat image : temp/1752525147_3704034_1372136888_72af3f7bd045cf640083821d66112ea5.jpg resize: (1080, 1632) 1372136888 -5.653338899979401 treat image : temp/1752525147_3704034_1372136887_8f2924400a87389703e62e9ca75207a1.jpg resize: (1080, 1632) 1372136887 -5.652860411973285 treat image : temp/1752525147_3704034_1372136886_89677fa3bf6d677a3518c0caedfeb309.jpg resize: (1080, 1632) 1372136886 -5.653214304371515 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 : 18 time used for this insertion : 0.012746095657348633 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.0120391845703125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.015123844146728516 save missing photos in datou_result : time spend for datou_step_exec : 13.297335863113403 time spend to save output : 0.04508066177368164 total time spend for step 1 : 13.342416524887085 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.88user 2.76system 0:18.22elapsed 85%CPU (0avgtext+0avgdata 139676maxresident)k 0inputs+9096outputs (3major+234584minor)pagefaults 0swaps