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 : 3513886 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 : 1620>100 please execute split_portfolio.py -i 21370538 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2664544'] with mtr_portfolio_ids : ['21370538'] and first list_photo_ids : [] new path : /proc/3513886/ 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.132190704345703 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 Mar 13 16:17:31 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/1741879048_3513886_1343735721_5721ec8c5cabd784688c1248ee50c903.jpg resize: (1080, 1632) 1343735721 -5.899809226525302 treat image : temp/1741879048_3513886_1343735720_ed4a917a5202b3754731b31c1e649b7d.jpg resize: (1080, 1632) 1343735720 -5.471355175978794 treat image : temp/1741879048_3513886_1343735715_da32d8ed932a6bdbad74bfd789850546.jpg resize: (1080, 1632) 1343735715 -6.307955165335168 treat image : temp/1741879048_3513886_1343735709_ed4dd5b3c053d3590a175f4e241f9560.jpg resize: (1080, 1632) 1343735709 -6.315652573351884 treat image : temp/1741879048_3513886_1343735705_342916136e8656f8e4eadd66efa978eb.jpg resize: (1080, 1632) 1343735705 -5.922973427849877 treat image : temp/1741879048_3513886_1343735663_9ac6eae4e642ac5cb0546d5889dd58b3.jpg resize: (1080, 1632) 1343735663 -2.7513790426440137 treat image : temp/1741879048_3513886_1343735658_c0cf98a9a7f182e22625732af2a93507.jpg resize: (1080, 1632) 1343735658 -1.5762687257154415 treat image : temp/1741879048_3513886_1343735651_63342144c83c6f36f5fd36311967876e.jpg resize: (1080, 1632) 1343735651 -1.570250221571953 treat image : temp/1741879048_3513886_1343735613_c5dd5562a4474f21ff424e415e2f94bd.jpg resize: (1080, 1632) 1343735613 -5.042492493948471 treat image : temp/1741879048_3513886_1343735608_599bb53d811510d35fe6cc100333d2eb.jpg resize: (1080, 1632) 1343735608 -6.128550041706683 treat image : temp/1741879048_3513886_1343735604_b626cf9a886f9041d88e8ad67c19d6a7.jpg resize: (1080, 1632) 1343735604 -6.487872313134218 treat image : temp/1741879048_3513886_1343735601_f6fc06186e179693863ab7b059a3588f.jpg resize: (1080, 1632) 1343735601 -6.261844973385219 treat image : temp/1741879048_3513886_1343735596_1a6d434cff04d613d810dd664f390a84.jpg resize: (1080, 1632) 1343735596 -6.382261377196831 treat image : temp/1741879048_3513886_1343735578_abb6c75b514d2d3967629b441f7a7cdf.jpg resize: (1080, 1632) 1343735578 -6.374607010692922 treat image : temp/1741879048_3513886_1343735549_b0bc076c2dd4e70a933ebe25b8a20e7a.jpg resize: (1080, 1632) 1343735549 -5.4355961528332655 treat image : temp/1741879048_3513886_1343735546_ba35dd03b48ac7960e081d45f9b3237e.jpg resize: (1080, 1632) 1343735546 -5.9885598708869585 treat image : temp/1741879048_3513886_1343735538_62a7a2284147a2d0604fc5da98851d8e.jpg resize: (1080, 1632) 1343735538 -5.642022555688232 treat image : temp/1741879048_3513886_1343735532_421417936fd1524f4ededccdb86c2c8b.jpg resize: (1080, 1632) 1343735532 -6.102989025542791 treat image : temp/1741879048_3513886_1343735493_d3a2b6be056680b60f4a84e7f0bd076a.jpg resize: (1080, 1632) 1343735493 -3.3010427003015446 treat image : temp/1741879048_3513886_1343735488_806d553752ab5673fb2d8c948358d00a.jpg resize: (1080, 1632) 1343735488 -4.003000633312624 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.012850761413574219 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.012845754623413086 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.023102998733520508 save missing photos in datou_result : time spend for datou_step_exec : 16.113834619522095 time spend to save output : 0.05337119102478027 total time spend for step 1 : 16.167205810546875 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.68user 4.75system 0:22.78elapsed 85%CPU (0avgtext+0avgdata 138828maxresident)k 72inputs+11040outputs (4major+257368minor)pagefaults 0swaps