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 : 1709218 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 : 3076>100 please execute split_portfolio.py -i 22126404 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2730774'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/1709218/ 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 : 3.0209567546844482 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 Wed Apr 9 15:42: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/1744206149_1709218_1350661579_d7e13aed2b6123e752ce76cf69fcdbd0.jpg resize: (1080, 1632) 1350661579 -3.8201540773022327 treat image : temp/1744206149_1709218_1350661574_31715899ffe4cc75d52b68db5e1f3480.jpg resize: (1080, 1632) 1350661574 -5.533490759658151 treat image : temp/1744206149_1709218_1350661565_68f0e23c96267fbbafa44ce5b51da3bb.jpg resize: (1080, 1632) 1350661565 -3.211467754953404 treat image : temp/1744206149_1709218_1350661561_901776cabbd7a5425f617c5dd1b2f566.jpg resize: (1080, 1632) 1350661561 -5.7134940233940235 treat image : temp/1744206149_1709218_1350661557_8ade2ace0e1bbb13bb8778373dc0bf10.jpg resize: (1080, 1632) 1350661557 -6.062781524493329 treat image : temp/1744206149_1709218_1350661540_a7cf7d1b94537c6e9024b3caf7d0b8ad.jpg resize: (1080, 1632) 1350661540 -3.1879372253101206 treat image : temp/1744206149_1709218_1350661534_ffd4655051f86a6014239b54b0dcc82e.jpg resize: (1080, 1632) 1350661534 -3.334713444632966 treat image : temp/1744206149_1709218_1350661530_888cd4aef9c0174a1821287227400f72.jpg resize: (1080, 1632) 1350661530 -6.2467514346646364 treat image : temp/1744206149_1709218_1350661523_e978f9a0e1f5f2b68f85e1e4b7d54ec0.jpg resize: (1080, 1632) 1350661523 -6.318884196049491 treat image : temp/1744206149_1709218_1350661519_dac07869c72574b5deac4724e3870c16.jpg resize: (1080, 1632) 1350661519 -5.978328219793379 treat image : temp/1744206149_1709218_1350661513_5701ca0a9b2a2dc4efaed3859acff441.jpg resize: (1080, 1632) 1350661513 -4.791389699776473 treat image : temp/1744206149_1709218_1350661490_0a1e85e8e2a2899ce21f67a32c2a011e.jpg resize: (1080, 1632) 1350661490 -5.291222933771351 treat image : temp/1744206149_1709218_1350661484_6b84e29d21825ae2665688615dd33134.jpg resize: (1080, 1632) 1350661484 -1.8586775359816776 treat image : temp/1744206149_1709218_1350661475_86adf70d97892f65c0e088e0fa7d60a8.jpg resize: (1080, 1632) 1350661475 -2.9947188116295003 treat image : temp/1744206149_1709218_1350661458_04fb3ceceb47b70aaea11f4e417d9020.jpg resize: (1080, 1632) 1350661458 -1.542208649552729 treat image : temp/1744206149_1709218_1350661443_f185fae1047c5535cce761e640c6b3c5.jpg resize: (1080, 1632) 1350661443 -6.011476031350362 treat image : temp/1744206149_1709218_1350661437_c2689c3763362a208c43e086118d8296.jpg resize: (1080, 1632) 1350661437 -4.540828277331593 treat image : temp/1744206149_1709218_1350661432_42ea22f00af9ac0375d955480ca1e257.jpg resize: (1080, 1632) 1350661432 -6.357122456546173 treat image : temp/1744206149_1709218_1350661428_af5d91dfaa40e4fe0e97f2c7f0fce7aa.jpg resize: (1080, 1632) 1350661428 -6.6955029013271155 treat image : temp/1744206149_1709218_1350661424_fe377a4c619d72c3fe774b747763bd30.jpg resize: (1080, 1632) 1350661424 -4.457575788068689 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.014492273330688477 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.012842178344726562 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016160249710083008 save missing photos in datou_result : time spend for datou_step_exec : 17.624640941619873 time spend to save output : 0.048478126525878906 total time spend for step 1 : 17.673119068145752 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 16.06user 4.38system 0:24.81elapsed 82%CPU (0avgtext+0avgdata 140360maxresident)k 112inputs+10064outputs (1major+260040minor)pagefaults 0swaps