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 : 4095738 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 : 3257>100 please execute split_portfolio.py -i 21995993 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2718254'] with mtr_portfolio_ids : ['21995993'] and first list_photo_ids : [] new path : /proc/4095738/ 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.360323905944824 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 3 17:52:32 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/1743695550_4095738_1349829722_21713ca0407095fd32093e1e1b7109cb.jpg resize: (1080, 1632) 1349829722 -1.9064163676826196 treat image : temp/1743695550_4095738_1349829712_cd0ba976a6213ab45e647cb67ebd18df.jpg resize: (1080, 1632) 1349829712 -1.9064163676826196 treat image : temp/1743695550_4095738_1349829710_f997630f0d8c19adfc73649e7877e574.jpg resize: (1080, 1632) 1349829710 -3.2107275493472245 treat image : temp/1743695550_4095738_1349829702_e7d2287a130afde0b19d79389bd35d00.jpg resize: (1080, 1632) 1349829702 -3.2107275493472245 treat image : temp/1743695550_4095738_1349829694_c5a7f1918618eb3553958111ef5a07f9.jpg resize: (1080, 1632) 1349829694 -5.895613221655344 treat image : temp/1743695550_4095738_1349829690_022eba52a08ccae92a3dcbe5e47a2440.jpg resize: (1080, 1632) 1349829690 -5.895613221655344 treat image : temp/1743695550_4095738_1349829688_c2278ec8cc532927e7a657264aa448c1.jpg resize: (1080, 1632) 1349829688 -6.179134218495596 treat image : temp/1743695550_4095738_1349829685_afd39d19570e4ee18fed0e681ff8b2f9.jpg resize: (1080, 1632) 1349829685 -6.179134218495596 treat image : temp/1743695550_4095738_1349829683_bc278d28450df27ad8bc2d922e2635b3.jpg resize: (1080, 1632) 1349829683 -5.9496578629944725 treat image : temp/1743695550_4095738_1349829680_78de4c603fdfa327c634c1e1049241dd.jpg resize: (1080, 1632) 1349829680 -5.9496578629944725 treat image : temp/1743695550_4095738_1349829678_8a4d05ed8561a0734b9e71c3709c22b7.jpg resize: (1080, 1632) 1349829678 -5.826651322330182 treat image : temp/1743695550_4095738_1349829662_400bc63d2f6d8589d07bb79800dda215.jpg resize: (1080, 1632) 1349829662 -5.826651322330182 treat image : temp/1743695550_4095738_1349829627_58789034a0d95e3082b8dfe8b52be922.jpg resize: (1080, 1632) 1349829627 -5.815767740735119 treat image : temp/1743695550_4095738_1349829620_3307b6f03dad9aa67e5b540ceb967c19.jpg resize: (1080, 1632) 1349829620 -5.90735065695334 treat image : temp/1743695550_4095738_1349829612_31cfb060042b4050497276512aec5148.jpg resize: (1080, 1632) 1349829612 -5.629502341784015 treat image : temp/1743695550_4095738_1349829596_f7cfa46e5187db134241c5cb3816e8bd.jpg resize: (1080, 1632) 1349829596 -6.241345358973463 treat image : temp/1743695550_4095738_1349829570_323125df18e6b842d2c709ae76b03154.jpg resize: (1080, 1632) 1349829570 -6.648187261877985 treat image : temp/1743695550_4095738_1349829550_e2c7aa1840591988870f6ac066f2eafd.jpg resize: (1080, 1632) 1349829550 -1.9748520779116125 treat image : temp/1743695550_4095738_1349829237_477690753e4bf3b8959d3cb39802ad6a.jpg resize: (1080, 1632) 1349829237 -2.938653546679258 treat image : temp/1743695550_4095738_1349829235_a6bb782e4f96d5109e5e37c84611ac30.jpg resize: (1080, 1632) 1349829235 -3.1791250589641695 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.0361478328704834 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.03455686569213867 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.1543257236480713 save missing photos in datou_result : time spend for datou_step_exec : 20.095795154571533 time spend to save output : 0.24036407470703125 total time spend for step 1 : 20.336159229278564 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.18user 7.30system 0:27.25elapsed 82%CPU (0avgtext+0avgdata 137332maxresident)k 136inputs+10376outputs (3major+263754minor)pagefaults 0swaps