python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 12 -a ' -a 533 -l 200 --rand=1 ' -s datou_current_533 -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 : 3551297 load datou : 533 # 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) All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! DataTypes for each output/input checked ! 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_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo 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 : 202>200 please execute split_portfolio.py -i 31008807 -l 200 size over we load limit photo not treated list_input_json: {} Date 2026-04-21 15:50:27.419446 Current got : datou_id : 533, datou_cur_ids : ['4376248'] with mtr_portfolio_ids : ['31008807'] and first list_photo_ids : [] new path : /proc/3551297/ 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) All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! DataTypes for each output/input checked ! List Step Type Loaded in datou : tfhub_classification2, argmax list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFB[Errno 28] No space left on device can't download the photo : 1416185248 complete_path : /home/admin/workarea/git/Velours/python/temp/1776779427_3551297_1416185248_a8035402b27f681bffcc3deae655fe9c.jpg FB[Errno 28] No space left on device can't download the photo : 1416185247 complete_path : /home/admin/workarea/git/Velours/python/temp/1776779427_3551297_1416185247_b4635f3bb0c1bf5a5b1a43cbda0cd82c.jpg FB[Errno 28] No space left on device can't download the photo : 1416185246 complete_path : /home/admin/workarea/git/Velours/python/temp/1776779427_3551297_1416185246_c01a564ef0a53a847f66eb872a2b0724.jpg FB[Errno 28] No space left on device can't download the photo : 1416185245 complete_path : /home/admin/workarea/git/Velours/python/temp/1776779427_3551297_1416185245_3f153dc8443d3d8f4fe0c4d705007044.jpg Fwe have missing 4 photos in the step downloads : photo missing : [1416185248, 1416185247, 1416185246, 1416185245] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1416185248 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1416185247 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1416185246 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1416185245 length of list_filenames : 80 ; length of list_pids : 80 ; length of list_args : 80 time to download the photos : 22.227129220962524 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 : 2 step1:tfhub_classification2 Tue Apr 21 15:50:49 2026 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 Beginning of datou_step TFHub with tf2 ! nombre de thcls : 3 we are using the classfication for multi_thcl [3513, 3379, 3847] begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 3496 max_wait_temp : 1 max_wait : 5 ERROR in datou_step_exec, will save and exit ! [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/admin/workarea/git/Velours/python'] File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2340, in datou_exec output = datou_step_exec(sNext, args, cache, context, map_info, verbose, mtr_user_id) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2534, in datou_step_exec return lib_process.datou_step_tfhub2(param, json_param, args, cache, context, map_info, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/lib_step_exec/lib_step_process.py", line 3089, in datou_step_tfhub2 import tensorflow as tf File "/usr/local/lib/python3.8/dist-packages/tensorflow/__init__.py", line 41, in from tensorflow.python.tools import module_util as _module_util File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/__init__.py", line 132, in from tensorflow.python.platform import test File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/platform/test.py", line 24, in from tensorflow.python.framework import test_util as _test_util File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/test_util.py", line 36, in from absl.testing import parameterized File "/usr/local/lib/python3.8/dist-packages/absl/testing/parameterized.py", line 171, in from absl.testing import absltest File "/usr/local/lib/python3.8/dist-packages/absl/testing/absltest.py", line 236, in flags.DEFINE_string('test_tmpdir', get_default_test_tmpdir(), File "/usr/local/lib/python3.8/dist-packages/absl/testing/absltest.py", line 177, in get_default_test_tmpdir tmpdir = os.path.join(tempfile.gettempdir(), 'absl_testing') File "/usr/lib/python3.8/tempfile.py", line 441, in gettempdir tempdir = _get_default_tempdir() File "/usr/lib/python3.8/tempfile.py", line 357, in _get_default_tempdir raise FileNotFoundError(_errno.ENOENT, [1416192268, 1416192267, 1416192266, 1416192265, 1416192264, 1416192263, 1416191791, 1416191790, 1416191789, 1416191788, 1416191787, 1416191786, 1416190987, 1416190915, 1416190914, 1416190913, 1416190912, 1416190911, 1416189916, 1416189915, 1416189914, 1416189912, 1416189910, 1416189909, 1416188735, 1416188734, 1416188733, 1416188732, 1416188731, 1416188730, 1416187919, 1416187918, 1416187917, 1416187916, 1416187915, 1416187914, 1416187899, 1416187897, 1416187896, 1416187895, 1416187894, 1416187893, 1416187794, 1416187760, 1416187744, 1416187592, 1416187430, 1416187394, 1416186943, 1416186942, 1416186941, 1416186940, 1416186938, 1416186936, 1416186857, 1416186856, 1416186855, 1416186854, 1416186852, 1416186851, 1416186759, 1416186758, 1416186757, 1416186756, 1416186755, 1416186754, 1416185805, 1416185804, 1416185803, 1416185801, 1416185799, 1416185798, 1416185270, 1416185268, 1416185267, 1416185266, 1416185265, 1416185264, 1416185251, 1416185250] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 80 time used for this insertion : 0.03972959518432617 save_final ERROR in last step tfhub_classification2, [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/admin/workarea/git/Velours/python'] time spend for datou_step_exec : 2.3653736114501953 time spend to save output : 0.04786276817321777 total time spend for step 0 : 2.413236379623413 need to delete datou_research and reload, so keep current state 1 caffe_path_current : About to save ! 2 After save, about to update current ! 3.68user 4.40system 0:27.72elapsed 29%CPU (0avgtext+0avgdata 374236maxresident)k 9136inputs+1254272outputs (57major+157022minor)pagefaults 0swaps