avm-debatr / debisim2

A Python-based 3D CT Simulation library for single and dual energy X-ray image generation. This library is designed to aid in the development and testing of single / dual energy CT based object detectors for airport baggage screening and other CT imaging applications.
https://engineering.purdue.edu/RVL/debisim/html/mainpage.html
GNU General Public License v3.0
8 stars 3 forks source link

I cant run a baggege simulation #1

Open tavan95 opened 1 year ago

tavan95 commented 1 year ago

I install your program. And like to run a baggage simulation. Whan I run " python run_dataset_generator.py --config=configs/config_default_parallelbeam_2d.py --sim_dir=results/example_default_parallelbeam_2d/ --num_bags=10" I see "typr error:disk() missing 1 required positional argument : 'radius' ". And when I run with another config like: "python run_dataset_generator.py --config=configs/config_default_parallelbeam_3d.py --sim_dir=results/example_default_parallelbeam_3d/ --" I see "indexError: index -9223372036854775808 is out of joint for axis 0 with size 350" How can I solve this problem?

Ankitvm commented 1 year ago

Hi - can you specify the Python and Scipy version that you are running the scripts with? Also it will be helpful if you can print the complete the error prompt..

tavan95 commented 1 year ago

scipy is 1.9.1 python is 3.9.13

and the run the program "python run_dataset_generator.py --config=configs/config_default_parallelbeam_2d.py --sim_dir=results/example_default_parallelbeam_2d/ --num_bags=10" show `python run_dataset_generator.py BENCHMARK: Start, saving results to /media/disk2/software/NewDebisim/debisim2/results/config_default_parallelbeam_2d/simulation_001/ BENCHMARK: Creating Randomized DEBISIM Dataset /media/disk2/software/NewDebisim/debisim2/results/config_default_parallelbeam_2d/ with 1 bags .... Shape List Handler initialized ... [2023-05-20 16:16:05,963] [DEBISIM] INFO: +--------------------------------------+--------------------------------------------------------------------------------------------------+ | CT Specifications | | |--------------------------------------+--------------------------------------------------------------------------------------------------| | Initialization Time | 05-20-2023 16:16:05 | | Simulation Directory | /media/disk2/software/NewDebisim/debisim2/results/config_default_parallelbeam_2d/simulation_001/ | | Image Dimensions | (512, 512, 350) | | CT Scanner | default_parallelbeam | | Projection Dims. (views, rows, cols) | [720, 350, 1024] | +--------------------------------------+--------------------------------------------------------------------------------------------------+ [2023-05-20 16:16:05,964] [DEBISIM] INFO:

[2023-05-20 16:16:05,964] [DEBISIM] INFO: ================================================================================ [2023-05-20 16:16:05,964] [DEBISIM] INFO: DEBISIM PIPELINE STARTS
[2023-05-20 16:16:05,964] [DEBISIM] INFO: ================================================================================ [2023-05-20 16:16:05,964] [DEBISIM] INFO: --------------------------------------------------BAG_GENERATOR--------------------------------------------------

Shape List Handler initialized ... [2023-05-20 16:16:07,706] [BAG_CREATOR] INFO: ================================================================================ [2023-05-20 16:16:07,706] [BAG_CREATOR] INFO: 3D Virtual Bag Creator [2023-05-20 16:16:07,706] [BAG_CREATOR] INFO: ----------------------------------------

[2023-05-20 16:16:07,706] [BAG_CREATOR] INFO: +----------------------------+---------------------+ | 3D Baggage Image Creator | | |----------------------------+---------------------| | Initialization Time | 05-20-2023 16:16:07 | | Image size | 350 | | Boundary Size | 162 | | Boundary Thickness | 10 | +----------------------------+---------------------+ [2023-05-20 16:16:07,706] [BAG_CREATOR] INFO:

[2023-05-20 16:16:07,707] [BAG_CREATOR] INFO: +----------------------------+---------------------+ | 3D Baggage Image Creator | | |----------------------------+---------------------| | Initialization Time | 05-20-2023 16:16:07 | | Image size | 350 | | Boundary Size | 162 | | Boundary Thickness | 10 | +----------------------------+---------------------+ [2023-05-20 16:16:07,707] [BAG_CREATOR] INFO:

[2023-05-20 16:16:08,458] [BAG_CREATOR] INFO: Remaining Metal Amt 100 [2023-05-20 16:16:08,499] [BAG_CREATOR] INFO: Creating Baggage from Object List ... [2023-05-20 16:16:08,499] [BAG_CREATOR] INFO: ================================================================================ Slice: 1: 0%| | 0/350 [00:00<?, ?it/s]i add 2 Slice: 1: 0%| | 0/350 [00:00<?, ?it/s] Traceback (most recent call last): File "/media/disk2/software/NewDebisim/debisim2/run_dataset_generator.py", line 71, in run_xray_dataset_generator(**config.params) File "/media/disk2/software/NewDebisim/debisim2/src/debisim_dataset_generator.py", line 230, in run_xray_dataset_generator bench.start() File "/media/disk2/software/NewDebisim/debisim2/lib/misc/benchmark.py", line 124, in start res = self._run(pre, out_dir) File "/media/disk2/software/NewDebisim/debisim2/lib/misc/benchmark.py", line 167, in _run res = self.run(pre) File "/media/disk2/software/NewDebisim/debisim2/src/debisim_dataset_generator.py", line 173, in run simulator.create_random_simulation_instance(bag_creator_args, File "/media/disk2/software/NewDebisim/debisim2/src/debisim_pipeline.py", line 352, in create_random_simulation_instance virtual_bag_creator.create_baggage_image(obj_list, File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_2d.py", line 1268, in create_baggage_image self.add_object(bag_obj, File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_2d.py", line 1373, in add_object self.run_shape_grammar_overlap_and_gravity(bag_obj) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_2d.py", line 1791, in run_shape_grammar_overlap_and_gravity bag_obj = self.inflate_sheet(bag_obj) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_2d.py", line 1719, in inflate_sheet disk(bag_obj.axes[0])) TypeError: disk() missing 1 required positional argument: 'radius'`


and then run "python run_dataset_generator.py --config=configs/config_default_parallelbeam_3d.py --sim_dir=results/example_default_parallelbeam_3d/ -- " show


`BENCHMARK: Start, saving results to /media/disk2/software/NewDebisim/debisim2/results/config_default_parallelbeam_3d/simulation_001/ BENCHMARK: Creating Randomized DEBISIM Dataset /media/disk2/software/NewDebisim/debisim2/results/config_default_parallelbeam_3d/ with 1 bags .... Shape List Handler initialized ... [2023-05-20 16:36:28,906] [DEBISIM] INFO: +--------------------------------------+--------------------------------------------------------------------------------------------------+ | CT Specifications | | |--------------------------------------+--------------------------------------------------------------------------------------------------| | Initialization Time | 05-20-2023 16:36:28 | | Simulation Directory | /media/disk2/software/NewDebisim/debisim2/results/config_default_parallelbeam_3d/simulation_001/ | | Image Dimensions | (512, 512, 110) | | CT Scanner | default_parallelbeam | | Projection Dims. (views, rows, cols) | [720, 350, 1024] | +--------------------------------------+--------------------------------------------------------------------------------------------------+ [2023-05-20 16:36:28,907] [DEBISIM] INFO:

[2023-05-20 16:36:28,907] [DEBISIM] INFO: ================================================================================ [2023-05-20 16:36:28,907] [DEBISIM] INFO: DEBISIM PIPELINE STARTS
[2023-05-20 16:36:28,907] [DEBISIM] INFO: ================================================================================ [2023-05-20 16:36:28,907] [DEBISIM] INFO: --------------------------------------------------BAG_GENERATOR--------------------------------------------------

Shape List Handler initialized ... [2023-05-20 16:36:29,423] [BAG_CREATOR] INFO: ================================================================================ [2023-05-20 16:36:29,423] [BAG_CREATOR] INFO: 3D Virtual Bag Creator [2023-05-20 16:36:29,423] [BAG_CREATOR] INFO: ----------------------------------------

[2023-05-20 16:36:29,424] [BAG_CREATOR] INFO: +----------------------------+---------------------+ | 3D Baggage Image Creator | | |----------------------------+---------------------| | Initialization Time | 05-20-2023 16:36:29 | | Image size | 256 | | Boundary Size | 127 | | Boundary Thickness | 3 | +----------------------------+---------------------+ [2023-05-20 16:36:29,424] [BAG_CREATOR] INFO:

[2023-05-20 16:36:34,721] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:36:42,124] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:36:44,696] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:36:45,217] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:36:45,531] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:36:48,222] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:36:56,834] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:36:58,529] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:37:03,314] [BAG_CREATOR] INFO: Creating Baggage from Object List ... [2023-05-20 16:37:03,314] [BAG_CREATOR] INFO: ================================================================================ [2023-05-20 16:37:03,314] [BAG_CREATOR] INFO: ==========Object No: 1========== [2023-05-20 16:37:03,314] [BAG_CREATOR] INFO: Init. Pose: Shape: M, Dim: [45 53 45], Pose:[ 71 155 146] [2023-05-20 16:37:03,314] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:03,886] [BAG_CREATOR] INFO: Final. Pose: Shape: M, Dim: [45 53 45], Pose:[210 155 146] [2023-05-20 16:37:03,886] [BAG_CREATOR] INFO: Time Taken: 0.5715243816375732 [2023-05-20 16:37:03,886] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:03,886] [BAG_CREATOR] INFO: ==========Object No: 2========== [2023-05-20 16:37:03,886] [BAG_CREATOR] INFO: Init. Pose: Shape: S, Dim: [140 111 84], Pose:[ 71 81 103] [2023-05-20 16:37:03,886] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:04,582] [BAG_CREATOR] INFO: Final. Pose: Shape: S, Dim: [134 111 84], Pose:[121 81 103] [2023-05-20 16:37:04,582] [BAG_CREATOR] INFO: Time Taken: 0.6955938339233398 [2023-05-20 16:37:04,582] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:04,582] [BAG_CREATOR] INFO: ==========Object No: 3========== [2023-05-20 16:37:04,582] [BAG_CREATOR] INFO: Init. Pose: Shape: E, Dim: [90 61 76], Pose:[ 71 107 4] [2023-05-20 16:37:04,582] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:05,029] [BAG_CREATOR] INFO: Final. Pose: Shape: E, Dim: [90 61 76], Pose:[165 107 4] [2023-05-20 16:37:05,030] [BAG_CREATOR] INFO: Time Taken: 0.4473395347595215 [2023-05-20 16:37:05,030] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:05,030] [BAG_CREATOR] INFO: ==========Object No: 4========== [2023-05-20 16:37:05,030] [BAG_CREATOR] INFO: Init. Pose: Shape: S, Dim: [137 37 130], Pose:[ 71 141 182] [2023-05-20 16:37:05,030] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:05,455] [BAG_CREATOR] INFO: Final. Pose: Shape: S, Dim: [134 37 73], Pose:[121 141 182] [2023-05-20 16:37:05,455] [BAG_CREATOR] INFO: Time Taken: 0.42517638206481934 [2023-05-20 16:37:05,455] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:05,455] [BAG_CREATOR] INFO: ==========Object No: 5========== [2023-05-20 16:37:05,456] [BAG_CREATOR] INFO: Init. Pose: Shape: M, Dim: [96 91 73], Pose:[71 91 17] [2023-05-20 16:37:05,456] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:06,662] [BAG_CREATOR] INFO: Final. Pose: Shape: M, Dim: [96 91 73], Pose:[69 91 66] [2023-05-20 16:37:06,662] [BAG_CREATOR] INFO: Time Taken: 1.206303358078003 [2023-05-20 16:37:06,662] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:06,662] [BAG_CREATOR] INFO: ==========Object No: 6========== [2023-05-20 16:37:06,662] [BAG_CREATOR] INFO: Init. Pose: Shape: E, Dim: [95 95 97], Pose:[ 71 177 190] [2023-05-20 16:37:06,662] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:07,111] [BAG_CREATOR] INFO: Final. Pose: Shape: E, Dim: [95 78 65], Pose:[160 177 190] [2023-05-20 16:37:07,112] [BAG_CREATOR] INFO: Time Taken: 0.4492049217224121 [2023-05-20 16:37:07,112] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:07,112] [BAG_CREATOR] INFO: ==========Object No: 7========== [2023-05-20 16:37:07,112] [BAG_CREATOR] INFO: Init. Pose: Shape: M, Dim: [88 77 69], Pose:[71 61 78] [2023-05-20 16:37:07,112] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:07,553] [BAG_CREATOR] INFO: Final. Pose: Shape: M, Dim: [88 77 69], Pose:[167 61 78] [2023-05-20 16:37:07,553] [BAG_CREATOR] INFO: Time Taken: 0.4413185119628906 [2023-05-20 16:37:07,553] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:07,554] [BAG_CREATOR] INFO: ==========Object No: 8========== [2023-05-20 16:37:07,554] [BAG_CREATOR] INFO: Init. Pose: Shape: C, Dim: [73 64 77], Pose:[ 71 201 191] [2023-05-20 16:37:07,554] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:08,557] [BAG_CREATOR] INFO: Final. Pose: Shape: C, Dim: [73 0 64], Pose:[182 255 191] [2023-05-20 16:37:08,557] [BAG_CREATOR] INFO: Time Taken: 1.0033187866210938 [2023-05-20 16:37:08,557] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:08,557] [BAG_CREATOR] INFO: ==========Object No: 9========== [2023-05-20 16:37:08,557] [BAG_CREATOR] INFO: Init. Pose: Shape: M, Dim: [67 71 49], Pose:[71 64 46] [2023-05-20 16:37:08,558] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:09,694] [BAG_CREATOR] INFO: Final. Pose: Shape: M, Dim: [67 71 49], Pose:[188 64 77] [2023-05-20 16:37:09,694] [BAG_CREATOR] INFO: Time Taken: 1.136528730392456 [2023-05-20 16:37:09,694] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:09,694] [BAG_CREATOR] INFO: ==========Object No: 10========== [2023-05-20 16:37:09,694] [BAG_CREATOR] INFO: Init. Pose: Shape: B, Dim: [79 60 69], Pose:[ 71 187 34] [2023-05-20 16:37:09,695] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:10,279] [BAG_CREATOR] INFO: Final. Pose: Shape: B, Dim: [79 60 69], Pose:[176 187 34] [2023-05-20 16:37:10,279] [BAG_CREATOR] INFO: Time Taken: 0.5841507911682129 [2023-05-20 16:37:10,279] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:10,279] [BAG_CREATOR] INFO: ==========Object No: 11========== [2023-05-20 16:37:10,279] [BAG_CREATOR] INFO: Init. Pose: Shape: Y, Dim: [131 62 125], Pose:[ 71 186 133] [2023-05-20 16:37:10,279] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:11,246] [BAG_CREATOR] INFO: Final. Pose: Shape: Y, Dim: [131 62 122], Pose:[ 51 186 133] [2023-05-20 16:37:11,246] [BAG_CREATOR] INFO: Time Taken: 0.9672272205352783 [2023-05-20 16:37:11,246] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:11,246] [BAG_CREATOR] INFO: ==========Object No: 12========== [2023-05-20 16:37:11,247] [BAG_CREATOR] INFO: Init. Pose: Shape: C, Dim: [103 84 104], Pose:[ 71 117 161] [2023-05-20 16:37:11,247] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:12,372] [BAG_CREATOR] INFO: Final. Pose: Shape: C, Dim: [68 84 94], Pose:[ 1 117 161] [2023-05-20 16:37:12,372] [BAG_CREATOR] INFO: Time Taken: 1.1252055168151855 [2023-05-20 16:37:12,372] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:12,372] [BAG_CREATOR] INFO: ==========Object No: 13========== [2023-05-20 16:37:12,372] [BAG_CREATOR] INFO: Init. Pose: Shape: C, Dim: [72 87 80], Pose:[71 76 98] [2023-05-20 16:37:12,372] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:13,453] [BAG_CREATOR] INFO: Final. Pose: Shape: C, Dim: [72 87 80], Pose:[ 22 76 138] [2023-05-20 16:37:13,453] [BAG_CREATOR] INFO: Time Taken: 1.0810987949371338 [2023-05-20 16:37:13,453] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:13,453] [BAG_CREATOR] INFO: ==========Object No: 14========== [2023-05-20 16:37:13,454] [BAG_CREATOR] INFO: Init. Pose: Shape: M, Dim: [52 72 81], Pose:[71 50 30] [2023-05-20 16:37:13,454] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:14,815] [BAG_CREATOR] INFO: Final. Pose: Shape: M, Dim: [52 72 81], Pose:[128 50 30] [2023-05-20 16:37:14,815] [BAG_CREATOR] INFO: Time Taken: 1.3611788749694824 [2023-05-20 16:37:14,815] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:14,815] [BAG_CREATOR] INFO: ==========Object No: 15========== [2023-05-20 16:37:14,815] [BAG_CREATOR] INFO: Init. Pose: Shape: E, Dim: [ 87 133 72], Pose:[71 44 73] [2023-05-20 16:37:14,815] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:16,089] [BAG_CREATOR] INFO: Final. Pose: Shape: E, Dim: [ 35 133 72], Pose:[ 1 44 138] [2023-05-20 16:37:16,089] [BAG_CREATOR] INFO: Time Taken: 1.2740752696990967 [2023-05-20 16:37:16,089] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:16,089] [BAG_CREATOR] INFO: ==========Object No: 16========== [2023-05-20 16:37:16,090] [BAG_CREATOR] INFO: Init. Pose: Shape: B, Dim: [72 86 79], Pose:[ 71 206 63] [2023-05-20 16:37:16,090] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:17,137] [BAG_CREATOR] INFO: Final. Pose: Shape: B, Dim: [72 49 79], Pose:[143 206 63] [2023-05-20 16:37:17,137] [BAG_CREATOR] INFO: Time Taken: 1.0472495555877686 [2023-05-20 16:37:17,137] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:17,137] [BAG_CREATOR] INFO: ==========Object No: 17========== [2023-05-20 16:37:17,137] [BAG_CREATOR] INFO: Init. Pose: Shape: S, Dim: [121 77 94], Pose:[ 71 207 35] [2023-05-20 16:37:17,137] [BAG_CREATOR] INFO: Placing Object ... Traceback (most recent call last): File "/media/disk2/software/NewDebisim/debisim2/run_dataset_generator.py", line 71, in run_xray_dataset_generator(**config.params) File "/media/disk2/software/NewDebisim/debisim2/src/debisim_dataset_generator.py", line 230, in run_xray_dataset_generator bench.start() File "/media/disk2/software/NewDebisim/debisim2/lib/misc/benchmark.py", line 124, in start res = self._run(pre, out_dir) File "/media/disk2/software/NewDebisim/debisim2/lib/misc/benchmark.py", line 167, in _run res = self.run(pre) File "/media/disk2/software/NewDebisim/debisim2/src/debisim_dataset_generator.py", line 173, in run simulator.create_random_simulation_instance(bag_creator_args, File "/media/disk2/software/NewDebisim/debisim2/src/debisim_pipeline.py", line 352, in create_random_simulation_instance virtual_bag_creator.create_baggage_image(obj_list, File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1486, in create_baggage_image self.add_object(bag_obj, File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1580, in add_object self.run_shape_grammar_overlap_and_gravity(bag_obj) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 2030, in run_shape_grammar_overlap_and_gravity bag_obj = self.generate_sheet_curve(bag_obj) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1882, in generate_sheet_curve fin_curve_pts_1 = self.run_midpoint_recursion(simplex_1) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1833, in run_midpoint_recursion pt_list_2 = self.run_midpoint_recursion(pt_set_2) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1832, in run_midpoint_recursion pt_list_1 = self.run_midpoint_recursion(pt_set_1) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1832, in run_midpoint_recursion pt_list_1 = self.run_midpoint_recursion(pt_set_1) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1832, in run_midpoint_recursion pt_list_1 = self.run_midpoint_recursion(pt_set_1) [Previous line repeated 1 more time] File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1805, in run_midpoint_recursion line_overlap = np.any(self.ws_bag[line_pts]) IndexError: index -9223372036854775808 is out of bounds for axis 0 with size 256`

Ankitvm commented 1 year ago

Hi, I am currently not able to replicate the same errors that you are encountering with the script. In both of the above cases, the source of the error is due to the spawning of very thin deformable sheet-like solids within the spawned bag. This thickness is controlled by the parameter bag_creator_args['sheet_dim_list'] in the configs/config_*.py file. To avoid thin sheets from being simulated, you can set it to a high value like bag_creator_args['sheet_dim_list']=range(5,7). I will keep you posted once I am able to replicate the error.

Thanks, Ankit

tavan95 commented 1 year ago

i chenge bag_creator_args['sheet_dim_list']=range(5,7) but the algorithm have the same Error

hjahan58 commented 1 year ago

Hi I think this section of Baggage_creator_2d and 3d for shape s is source for this bug elif cshape=='S': c_geom['center'] = array([0, 0, 0]) c_geom['dim'] = np.random.rand(3)max_dim0.5 + max_dim c_geom['dim'][0] = np.random.choice(sheet_dim_list) c_geom['rot'] = np.random.rand(3)*90

because in user manual this shape has only three parameter

‘geom’ - dictionary containing geometric specifications for the object shape - varies for each object shape:

‘S’ | ‘center’ | Center co-ordinates [x,y,z] of the sheet   | ‘dim’ | dimensions of the undeformed sheet [a1, a2, a3]   | ‘rot’ | rotation (Euler) angles in degrees [t1, t2, t3]

bigfly-nb commented 6 months ago

scipy is 1.9.1 python is 3.9.13

and the run the program "python run_dataset_generator.py --config=configs/config_default_parallelbeam_2d.py --sim_dir=results/example_default_parallelbeam_2d/ --num_bags=10" show `python run_dataset_generator.py BENCHMARK: Start, saving results to /media/disk2/software/NewDebisim/debisim2/results/config_default_parallelbeam_2d/simulation_001/ BENCHMARK: Creating Randomized DEBISIM Dataset /media/disk2/software/NewDebisim/debisim2/results/config_default_parallelbeam_2d/ with 1 bags .... Shape List Handler initialized ... [2023-05-20 16:16:05,963] [DEBISIM] INFO: +--------------------------------------+--------------------------------------------------------------------------------------------------+ | CT Specifications | | |--------------------------------------+--------------------------------------------------------------------------------------------------| | Initialization Time | 05-20-2023 16:16:05 | | Simulation Directory | /media/disk2/software/NewDebisim/debisim2/results/config_default_parallelbeam_2d/simulation_001/ | | Image Dimensions | (512, 512, 350) | | CT Scanner | default_parallelbeam | | Projection Dims. (views, rows, cols) | [720, 350, 1024] | +--------------------------------------+--------------------------------------------------------------------------------------------------+ [2023-05-20 16:16:05,964] [DEBISIM] INFO:

[2023-05-20 16:16:05,964] [DEBISIM] INFO: ================================================================================ [2023-05-20 16:16:05,964] [DEBISIM] INFO: DEBISIM PIPELINE STARTS [2023-05-20 16:16:05,964] [DEBISIM] INFO: ================================================================================ [2023-05-20 16:16:05,964] [DEBISIM] INFO: --------------------------------------------------BAG_GENERATOR--------------------------------------------------

Shape List Handler initialized ... [2023-05-20 16:16:07,706] [BAG_CREATOR] INFO: ================================================================================ [2023-05-20 16:16:07,706] [BAG_CREATOR] INFO: 3D Virtual Bag Creator [2023-05-20 16:16:07,706] [BAG_CREATOR] INFO: ----------------------------------------

[2023-05-20 16:16:07,706] [BAG_CREATOR] INFO: +----------------------------+---------------------+ | 3D Baggage Image Creator | | |----------------------------+---------------------| | Initialization Time | 05-20-2023 16:16:07 | | Image size | 350 | | Boundary Size | 162 | | Boundary Thickness | 10 | +----------------------------+---------------------+ [2023-05-20 16:16:07,706] [BAG_CREATOR] INFO:

[2023-05-20 16:16:07,707] [BAG_CREATOR] INFO: +----------------------------+---------------------+ | 3D Baggage Image Creator | | |----------------------------+---------------------| | Initialization Time | 05-20-2023 16:16:07 | | Image size | 350 | | Boundary Size | 162 | | Boundary Thickness | 10 | +----------------------------+---------------------+ [2023-05-20 16:16:07,707] [BAG_CREATOR] INFO:

[2023-05-20 16:16:08,458] [BAG_CREATOR] INFO: Remaining Metal Amt 100 [2023-05-20 16:16:08,499] [BAG_CREATOR] INFO: Creating Baggage from Object List ... [2023-05-20 16:16:08,499] [BAG_CREATOR] INFO: ================================================================================ Slice: 1: 0%| | 0/350 [00:00<?, ?it/s]i add 2 Slice: 1: 0%| | 0/350 [00:00<?, ?it/s] Traceback (most recent call last): File "/media/disk2/software/NewDebisim/debisim2/run_dataset_generator.py", line 71, in run_xray_dataset_generator(**config.params) File "/media/disk2/software/NewDebisim/debisim2/src/debisim_dataset_generator.py", line 230, in run_xray_dataset_generator bench.start() File "/media/disk2/software/NewDebisim/debisim2/lib/misc/benchmark.py", line 124, in start res = self._run(pre, out_dir) File "/media/disk2/software/NewDebisim/debisim2/lib/misc/benchmark.py", line 167, in _run res = self.run(pre) File "/media/disk2/software/NewDebisim/debisim2/src/debisim_dataset_generator.py", line 173, in run simulator.create_random_simulation_instance(bag_creator_args, File "/media/disk2/software/NewDebisim/debisim2/src/debisim_pipeline.py", line 352, in create_random_simulation_instance virtual_bag_creator.create_baggage_image(obj_list, File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_2d.py", line 1268, in create_baggage_image self.add_object(bag_obj, File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_2d.py", line 1373, in add_object self.run_shape_grammar_overlap_and_gravity(bag_obj) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_2d.py", line 1791, in run_shape_grammar_overlap_and_gravity bag_obj = self.inflate_sheet(bag_obj) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_2d.py", line 1719, in inflate_sheet disk(bag_obj.axes[0])) TypeError: disk() missing 1 required positional argument: 'radius'`

and then run "python run_dataset_generator.py --config=configs/config_default_parallelbeam_3d.py --sim_dir=results/example_default_parallelbeam_3d/ -- " show

`BENCHMARK: Start, saving results to /media/disk2/software/NewDebisim/debisim2/results/config_default_parallelbeam_3d/simulation_001/ BENCHMARK: Creating Randomized DEBISIM Dataset /media/disk2/software/NewDebisim/debisim2/results/config_default_parallelbeam_3d/ with 1 bags .... Shape List Handler initialized ... [2023-05-20 16:36:28,906] [DEBISIM] INFO: +--------------------------------------+--------------------------------------------------------------------------------------------------+ | CT Specifications | | |--------------------------------------+--------------------------------------------------------------------------------------------------| | Initialization Time | 05-20-2023 16:36:28 | | Simulation Directory | /media/disk2/software/NewDebisim/debisim2/results/config_default_parallelbeam_3d/simulation_001/ | | Image Dimensions | (512, 512, 110) | | CT Scanner | default_parallelbeam | | Projection Dims. (views, rows, cols) | [720, 350, 1024] | +--------------------------------------+--------------------------------------------------------------------------------------------------+ [2023-05-20 16:36:28,907] [DEBISIM] INFO:

[2023-05-20 16:36:28,907] [DEBISIM] INFO: ================================================================================ [2023-05-20 16:36:28,907] [DEBISIM] INFO: DEBISIM PIPELINE STARTS [2023-05-20 16:36:28,907] [DEBISIM] INFO: ================================================================================ [2023-05-20 16:36:28,907] [DEBISIM] INFO: --------------------------------------------------BAG_GENERATOR--------------------------------------------------

Shape List Handler initialized ... [2023-05-20 16:36:29,423] [BAG_CREATOR] INFO: ================================================================================ [2023-05-20 16:36:29,423] [BAG_CREATOR] INFO: 3D Virtual Bag Creator [2023-05-20 16:36:29,423] [BAG_CREATOR] INFO: ----------------------------------------

[2023-05-20 16:36:29,424] [BAG_CREATOR] INFO: +----------------------------+---------------------+ | 3D Baggage Image Creator | | |----------------------------+---------------------| | Initialization Time | 05-20-2023 16:36:29 | | Image size | 256 | | Boundary Size | 127 | | Boundary Thickness | 3 | +----------------------------+---------------------+ [2023-05-20 16:36:29,424] [BAG_CREATOR] INFO:

[2023-05-20 16:36:34,721] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:36:42,124] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:36:44,696] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:36:45,217] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:36:45,531] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:36:48,222] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:36:56,834] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:36:58,529] [BAG_CREATOR] INFO: Maximum number of Targets reached! [2023-05-20 16:37:03,314] [BAG_CREATOR] INFO: Creating Baggage from Object List ... [2023-05-20 16:37:03,314] [BAG_CREATOR] INFO: ================================================================================ [2023-05-20 16:37:03,314] [BAG_CREATOR] INFO: ==========Object No: 1========== [2023-05-20 16:37:03,314] [BAG_CREATOR] INFO: Init. Pose: Shape: M, Dim: [45 53 45], Pose:[ 71 155 146] [2023-05-20 16:37:03,314] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:03,886] [BAG_CREATOR] INFO: Final. Pose: Shape: M, Dim: [45 53 45], Pose:[210 155 146] [2023-05-20 16:37:03,886] [BAG_CREATOR] INFO: Time Taken: 0.5715243816375732 [2023-05-20 16:37:03,886] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:03,886] [BAG_CREATOR] INFO: ==========Object No: 2========== [2023-05-20 16:37:03,886] [BAG_CREATOR] INFO: Init. Pose: Shape: S, Dim: [140 111 84], Pose:[ 71 81 103] [2023-05-20 16:37:03,886] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:04,582] [BAG_CREATOR] INFO: Final. Pose: Shape: S, Dim: [134 111 84], Pose:[121 81 103] [2023-05-20 16:37:04,582] [BAG_CREATOR] INFO: Time Taken: 0.6955938339233398 [2023-05-20 16:37:04,582] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:04,582] [BAG_CREATOR] INFO: ==========Object No: 3========== [2023-05-20 16:37:04,582] [BAG_CREATOR] INFO: Init. Pose: Shape: E, Dim: [90 61 76], Pose:[ 71 107 4] [2023-05-20 16:37:04,582] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:05,029] [BAG_CREATOR] INFO: Final. Pose: Shape: E, Dim: [90 61 76], Pose:[165 107 4] [2023-05-20 16:37:05,030] [BAG_CREATOR] INFO: Time Taken: 0.4473395347595215 [2023-05-20 16:37:05,030] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:05,030] [BAG_CREATOR] INFO: ==========Object No: 4========== [2023-05-20 16:37:05,030] [BAG_CREATOR] INFO: Init. Pose: Shape: S, Dim: [137 37 130], Pose:[ 71 141 182] [2023-05-20 16:37:05,030] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:05,455] [BAG_CREATOR] INFO: Final. Pose: Shape: S, Dim: [134 37 73], Pose:[121 141 182] [2023-05-20 16:37:05,455] [BAG_CREATOR] INFO: Time Taken: 0.42517638206481934 [2023-05-20 16:37:05,455] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:05,455] [BAG_CREATOR] INFO: ==========Object No: 5========== [2023-05-20 16:37:05,456] [BAG_CREATOR] INFO: Init. Pose: Shape: M, Dim: [96 91 73], Pose:[71 91 17] [2023-05-20 16:37:05,456] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:06,662] [BAG_CREATOR] INFO: Final. Pose: Shape: M, Dim: [96 91 73], Pose:[69 91 66] [2023-05-20 16:37:06,662] [BAG_CREATOR] INFO: Time Taken: 1.206303358078003 [2023-05-20 16:37:06,662] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:06,662] [BAG_CREATOR] INFO: ==========Object No: 6========== [2023-05-20 16:37:06,662] [BAG_CREATOR] INFO: Init. Pose: Shape: E, Dim: [95 95 97], Pose:[ 71 177 190] [2023-05-20 16:37:06,662] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:07,111] [BAG_CREATOR] INFO: Final. Pose: Shape: E, Dim: [95 78 65], Pose:[160 177 190] [2023-05-20 16:37:07,112] [BAG_CREATOR] INFO: Time Taken: 0.4492049217224121 [2023-05-20 16:37:07,112] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:07,112] [BAG_CREATOR] INFO: ==========Object No: 7========== [2023-05-20 16:37:07,112] [BAG_CREATOR] INFO: Init. Pose: Shape: M, Dim: [88 77 69], Pose:[71 61 78] [2023-05-20 16:37:07,112] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:07,553] [BAG_CREATOR] INFO: Final. Pose: Shape: M, Dim: [88 77 69], Pose:[167 61 78] [2023-05-20 16:37:07,553] [BAG_CREATOR] INFO: Time Taken: 0.4413185119628906 [2023-05-20 16:37:07,553] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:07,554] [BAG_CREATOR] INFO: ==========Object No: 8========== [2023-05-20 16:37:07,554] [BAG_CREATOR] INFO: Init. Pose: Shape: C, Dim: [73 64 77], Pose:[ 71 201 191] [2023-05-20 16:37:07,554] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:08,557] [BAG_CREATOR] INFO: Final. Pose: Shape: C, Dim: [73 0 64], Pose:[182 255 191] [2023-05-20 16:37:08,557] [BAG_CREATOR] INFO: Time Taken: 1.0033187866210938 [2023-05-20 16:37:08,557] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:08,557] [BAG_CREATOR] INFO: ==========Object No: 9========== [2023-05-20 16:37:08,557] [BAG_CREATOR] INFO: Init. Pose: Shape: M, Dim: [67 71 49], Pose:[71 64 46] [2023-05-20 16:37:08,558] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:09,694] [BAG_CREATOR] INFO: Final. Pose: Shape: M, Dim: [67 71 49], Pose:[188 64 77] [2023-05-20 16:37:09,694] [BAG_CREATOR] INFO: Time Taken: 1.136528730392456 [2023-05-20 16:37:09,694] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:09,694] [BAG_CREATOR] INFO: ==========Object No: 10========== [2023-05-20 16:37:09,694] [BAG_CREATOR] INFO: Init. Pose: Shape: B, Dim: [79 60 69], Pose:[ 71 187 34] [2023-05-20 16:37:09,695] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:10,279] [BAG_CREATOR] INFO: Final. Pose: Shape: B, Dim: [79 60 69], Pose:[176 187 34] [2023-05-20 16:37:10,279] [BAG_CREATOR] INFO: Time Taken: 0.5841507911682129 [2023-05-20 16:37:10,279] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:10,279] [BAG_CREATOR] INFO: ==========Object No: 11========== [2023-05-20 16:37:10,279] [BAG_CREATOR] INFO: Init. Pose: Shape: Y, Dim: [131 62 125], Pose:[ 71 186 133] [2023-05-20 16:37:10,279] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:11,246] [BAG_CREATOR] INFO: Final. Pose: Shape: Y, Dim: [131 62 122], Pose:[ 51 186 133] [2023-05-20 16:37:11,246] [BAG_CREATOR] INFO: Time Taken: 0.9672272205352783 [2023-05-20 16:37:11,246] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:11,246] [BAG_CREATOR] INFO: ==========Object No: 12========== [2023-05-20 16:37:11,247] [BAG_CREATOR] INFO: Init. Pose: Shape: C, Dim: [103 84 104], Pose:[ 71 117 161] [2023-05-20 16:37:11,247] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:12,372] [BAG_CREATOR] INFO: Final. Pose: Shape: C, Dim: [68 84 94], Pose:[ 1 117 161] [2023-05-20 16:37:12,372] [BAG_CREATOR] INFO: Time Taken: 1.1252055168151855 [2023-05-20 16:37:12,372] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:12,372] [BAG_CREATOR] INFO: ==========Object No: 13========== [2023-05-20 16:37:12,372] [BAG_CREATOR] INFO: Init. Pose: Shape: C, Dim: [72 87 80], Pose:[71 76 98] [2023-05-20 16:37:12,372] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:13,453] [BAG_CREATOR] INFO: Final. Pose: Shape: C, Dim: [72 87 80], Pose:[ 22 76 138] [2023-05-20 16:37:13,453] [BAG_CREATOR] INFO: Time Taken: 1.0810987949371338 [2023-05-20 16:37:13,453] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:13,453] [BAG_CREATOR] INFO: ==========Object No: 14========== [2023-05-20 16:37:13,454] [BAG_CREATOR] INFO: Init. Pose: Shape: M, Dim: [52 72 81], Pose:[71 50 30] [2023-05-20 16:37:13,454] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:14,815] [BAG_CREATOR] INFO: Final. Pose: Shape: M, Dim: [52 72 81], Pose:[128 50 30] [2023-05-20 16:37:14,815] [BAG_CREATOR] INFO: Time Taken: 1.3611788749694824 [2023-05-20 16:37:14,815] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:14,815] [BAG_CREATOR] INFO: ==========Object No: 15========== [2023-05-20 16:37:14,815] [BAG_CREATOR] INFO: Init. Pose: Shape: E, Dim: [ 87 133 72], Pose:[71 44 73] [2023-05-20 16:37:14,815] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:16,089] [BAG_CREATOR] INFO: Final. Pose: Shape: E, Dim: [ 35 133 72], Pose:[ 1 44 138] [2023-05-20 16:37:16,089] [BAG_CREATOR] INFO: Time Taken: 1.2740752696990967 [2023-05-20 16:37:16,089] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:16,089] [BAG_CREATOR] INFO: ==========Object No: 16========== [2023-05-20 16:37:16,090] [BAG_CREATOR] INFO: Init. Pose: Shape: B, Dim: [72 86 79], Pose:[ 71 206 63] [2023-05-20 16:37:16,090] [BAG_CREATOR] INFO: Placing Object ... [2023-05-20 16:37:17,137] [BAG_CREATOR] INFO: Final. Pose: Shape: B, Dim: [72 49 79], Pose:[143 206 63] [2023-05-20 16:37:17,137] [BAG_CREATOR] INFO: Time Taken: 1.0472495555877686 [2023-05-20 16:37:17,137] [BAG_CREATOR] INFO: ======================================== [2023-05-20 16:37:17,137] [BAG_CREATOR] INFO: ==========Object No: 17========== [2023-05-20 16:37:17,137] [BAG_CREATOR] INFO: Init. Pose: Shape: S, Dim: [121 77 94], Pose:[ 71 207 35] [2023-05-20 16:37:17,137] [BAG_CREATOR] INFO: Placing Object ... Traceback (most recent call last): File "/media/disk2/software/NewDebisim/debisim2/run_dataset_generator.py", line 71, in run_xray_dataset_generator(**config.params) File "/media/disk2/software/NewDebisim/debisim2/src/debisim_dataset_generator.py", line 230, in run_xray_dataset_generator bench.start() File "/media/disk2/software/NewDebisim/debisim2/lib/misc/benchmark.py", line 124, in start res = self._run(pre, out_dir) File "/media/disk2/software/NewDebisim/debisim2/lib/misc/benchmark.py", line 167, in _run res = self.run(pre) File "/media/disk2/software/NewDebisim/debisim2/src/debisim_dataset_generator.py", line 173, in run simulator.create_random_simulation_instance(bag_creator_args, File "/media/disk2/software/NewDebisim/debisim2/src/debisim_pipeline.py", line 352, in create_random_simulation_instance virtual_bag_creator.create_baggage_image(obj_list, File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1486, in create_baggage_image self.add_object(bag_obj, File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1580, in add_object self.run_shape_grammar_overlap_and_gravity(bag_obj) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 2030, in run_shape_grammar_overlap_and_gravity bag_obj = self.generate_sheet_curve(bag_obj) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1882, in generate_sheet_curve fin_curve_pts_1 = self.run_midpoint_recursion(simplex_1) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1833, in run_midpoint_recursion pt_list_2 = self.run_midpoint_recursion(pt_set_2) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1832, in run_midpoint_recursion pt_list_1 = self.run_midpoint_recursion(pt_set_1) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1832, in run_midpoint_recursion pt_list_1 = self.run_midpoint_recursion(pt_set_1) File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1832, in run_midpoint_recursion pt_list_1 = self.run_midpoint_recursion(pt_set_1) [Previous line repeated 1 more time] File "/media/disk2/software/NewDebisim/debisim2/lib/bag_generator/baggage_creator_3d.py", line 1805, in run_midpoint_recursion line_overlap = np.any(self.ws_bag[line_pts]) IndexError: index -9223372036854775808 is out of bounds for axis 0 with size 256`

hello, have you solved the issue? I met the same issue

bigfly-nb commented 6 months ago

I install your program. And like to run a baggage simulation. Whan I run " python run_dataset_generator.py --config=configs/config_default_parallelbeam_2d.py --sim_dir=results/example_default_parallelbeam_2d/ --num_bags=10" I see "typr error:disk() missing 1 required positional argument : 'radius' ". And when I run with another config like: "python run_dataset_generator.py --config=configs/config_default_parallelbeam_3d.py --sim_dir=results/example_default_parallelbeam_3d/ --" I see "indexError: index -9223372036854775808 is out of joint for axis 0 with size 350" How can I solve this problem?

hello, I met the same problems, have you solved them?