HiroIshida / hifuku

Code for paper https://arxiv.org/abs/2405.02968
3 stars 0 forks source link

infinite loop #8

Closed HiroIshida closed 1 year ago

HiroIshida commented 1 year ago

[INFO] 2023-01-28 10:48:14,922 hifuku.library.core: library found at /home/h-ishida/.mohou/tabletop_solution_library-TBRR_RRT/Library-TabletopBoxRightArmReachingTask-228a9e45.pkl [INFO] 2023-01-28 10:48:15,830 hifuku.library.core: active sampling step [INFO] 2023-01-28 10:48:15,830 hifuku.library.core: resetting pool [INFO] 2023-01-28 10:48:15,830 hifuku.library.core: sample solution candidates [INFO] 2023-01-28 10:51:21,082 hifuku.library.core: sample difficult problems [INFO] 2023-01-28 10:52:10,157 hifuku.library.core: compute scores [INFO] 2023-01-28 10:52:10,157 hifuku.datagen.batch_solver: n_process is not set. automatically determine [INFO] 2023-01-28 10:52:10,158 hifuku.datagen.batch_solver: n_process is set to 12 [INFO] 2023-01-28 10:52:15,240 hifuku.datagen.batch_solver: n_process is not set. automatically determine [INFO] 2023-01-28 10:52:15,241 hifuku.datagen.batch_solver: n_process is set to 12 [INFO] 2023-01-28 10:52:20,988 hifuku.datagen.batch_solver: n_process is not set. automatically determine [INFO] 2023-01-28 10:52:20,988 hifuku.datagen.batch_solver: n_process is set to 12 [INFO] 2023-01-28 10:52:25,878 hifuku.datagen.batch_solver: n_process is not set. automatically determine [INFO] 2023-01-28 10:52:25,879 hifuku.datagen.batch_solver: n_process is set to 12 [INFO] 2023-01-28 10:52:31,524 hifuku.datagen.batch_solver: n_process is not set. automatically determine [INFO] 2023-01-28 10:52:31,524 hifuku.datagen.batch_solver: n_process is set to 12 [INFO] 2023-01-28 10:52:37,673 hifuku.datagen.batch_solver: n_process is not set. automatically determine [INFO] 2023-01-28 10:52:37,674 hifuku.datagen.batch_solver: n_process is set to 12 [INFO] 2023-01-28 10:52:44,127 hifuku.datagen.batch_solver: n_process is not set. automatically determine [INFO] 2023-01-28 10:52:44,127 hifuku.datagen.batch_solver: n_process is set to 12 [INFO] 2023-01-28 10:52:49,868 hifuku.datagen.batch_solver: n_process is not set. automatically determine [INFO] 2023-01-28 10:52:49,868 hifuku.datagen.batch_solver: n_process is set to 12 [INFO] 2023-01-28 10:52:54,382 hifuku.datagen.batch_solver: n_process is not set. automatically determine [INFO] 2023-01-28 10:52:54,382 hifuku.datagen.batch_solver: n_process is set to 12 [INFO] 2023-01-28 10:53:00,029 hifuku.datagen.batch_solver: n_process is not set. automatically determine [INFO] 2023-01-28 10:53:00,029 hifuku.datagen.batch_solver: n_process is set to 12

File "active_sampling.py", line 89, in lib_sampler.step_active_sampling(pp) File "/home/h-ishida/python/hifuku/hifuku/library/core.py", line 462, in step_active_sampling init_solution = self._determine_init_solution() File "/home/h-ishida/python/hifuku/hifuku/library/core.py", line 634, in _determine_init_solution best_solution = self._select_solution_candidates(solution_candidates, difficult_problems) File "/home/h-ishida/python/hifuku/hifuku/library/core.py", line 604, in _select_solution_candidates results = solver.solve_batch(problems, solution_guesses) File "/home/h-ishida/python/hifuku/hifuku/datagen/batch_solver.py", line 257, in solve_batch idx_resultpairs = [q.get() for in range(len(tasks))] File "/home/h-ishida/python/hifuku/hifuku/datagen/batch_solver.py", line 257, in idx_resultpairs = [q.get() for in range(len(tasks))] File "/usr/lib/python3.8/multiprocessing/queues.py", line 97, in get res = self._recv_bytes() File "/usr/lib/python3.8/multiprocessing/connection.py", line 216, in recv_bytes buf = self._recv_bytes(maxlength) File "/usr/lib/python3.8/multiprocessing/connection.py", line 414, in _recv_bytes buf = self._recv(4) File "/usr/lib/python3.8/multiprocessing/connection.py", line 379, in _recv chunk = read(handle, remaining)

HiroIshida commented 1 year ago

According to the log, it seems that, it hangs at reading the queue