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 : 3160923 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 : 2624>100 please execute split_portfolio.py -i 19446291 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2468614'] with mtr_portfolio_ids : ['19446291'] and first list_photo_ids : [] new path : /proc/3160923/ 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.5818302631378174 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 Sat Feb 1 04:22: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/1738380151_3160923_1333585680_0d0d6a1b237393b5e4d96bd320fcbd8e.jpg resize: (1080, 1632) 1333585680 1.213787317967052 treat image : temp/1738380151_3160923_1333585679_5b672860d141284980f6a63007ab725b.jpg resize: (1080, 1632) 1333585679 1.4161807446184964 treat image : temp/1738380151_3160923_1333585653_2748d60e61b3f921182ee3354125b966.jpg resize: (1080, 1632) 1333585653 1.1525748236801527 treat image : temp/1738380151_3160923_1333585597_cff584e2526e75575a928f8329c07da0.jpg resize: (1080, 1632) 1333585597 0.9222698304544246 treat image : temp/1738380151_3160923_1333585530_215b2d9bc29a099644b2c42a6cf6a949.jpg resize: (1080, 1632) 1333585530 2.621962333298143 treat image : temp/1738380151_3160923_1333585518_ae00991cea040a4bb2d03740e734fedc.jpg resize: (1080, 1632) 1333585518 2.391339363710963 treat image : temp/1738380151_3160923_1333585071_4ac929615e625eba7226598860022759.jpg resize: (1080, 1632) 1333585071 2.281214691175104 treat image : temp/1738380151_3160923_1333585069_afc2f48bfb3cb261f9809a50616c0730.jpg resize: (1080, 1632) 1333585069 2.5045577520121727 treat image : temp/1738380151_3160923_1333585065_74bdf81dcac2b9d54f6d88448af43949.jpg resize: (1080, 1632) 1333585065 2.46507724491125 treat image : temp/1738380151_3160923_1333585059_a0786a51f2187e6be7400713830ff0f0.jpg resize: (1080, 1632) 1333585059 2.257717985659372 treat image : temp/1738380151_3160923_1333585052_9bb2355c7350cb52904176cc8a5d22fb.jpg resize: (1080, 1632) 1333585052 2.8583728458806976 treat image : temp/1738380151_3160923_1333585006_dd5c66d113f71b5cc64b3022c4488ba8.jpg resize: (1080, 1632) 1333585006 2.499538196275527 treat image : temp/1738380151_3160923_1333584666_6bcbeef1595b8bb3cc5b30a1dce0a376.jpg resize: (1080, 1632) 1333584666 2.7634522633054313 treat image : temp/1738380151_3160923_1333584599_f248d762ba8a7fbe474602c66fededc3.jpg resize: (1080, 1632) 1333584599 -0.30298104242965157 treat image : temp/1738380151_3160923_1333584555_2a5976635a7050ea55240657d38bc47d.jpg resize: (1080, 1632) 1333584555 0.43260939709781987 treat image : temp/1738380151_3160923_1333584491_58f7dde850299ccf06bfb338140bed49.jpg resize: (1080, 1632) 1333584491 0.649765337207616 treat image : temp/1738380151_3160923_1333584455_547dfe7e8baae07b9d5550f1d6731522.jpg resize: (1080, 1632) 1333584455 0.529389133786622 treat image : temp/1738380151_3160923_1333584378_e9188044f70da4fedc60b947d6f96be5.jpg resize: (1080, 1632) 1333584378 0.9647281201902727 treat image : temp/1738380151_3160923_1333583730_9c2a7319535fca85ec95366e77004a0d.jpg resize: (1080, 1632) 1333583730 1.4317249935447067 treat image : temp/1738380151_3160923_1333583724_4f17eab6d80525ea8fb615c5f036c9f8.jpg resize: (1080, 1632) 1333583724 1.4509832869454233 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.25057387351989746 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.014190196990966797 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015654325485229492 save missing photos in datou_result : time spend for datou_step_exec : 15.539584875106812 time spend to save output : 0.2851729393005371 total time spend for step 1 : 15.824757814407349 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.49user 3.78system 0:22.74elapsed 80%CPU (0avgtext+0avgdata 140572maxresident)k 88inputs+3728outputs (7major+260214minor)pagefaults 0swaps