swc-17 / SparseDrive

SparseDrive: End-to-End Autonomous Driving via Sparse Scene Representation
MIT License
384 stars 50 forks source link

sh scripts/kmeans.sh ERROR: height and width must be > 0 #38

Closed suayu closed 2 months ago

suayu commented 2 months ago

Traceback (most recent call last): File "tools/kmeans/kmeans_det.py", line 36, in plt.scatter(cluster[:,0], cluster[:,1]) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 2819, in scatter ret = gca().scatter( File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 2274, in gca return gcf().gca(*kwargs) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 867, in gcf return figure() File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 808, in figure manager = new_figure_manager( File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 327, in new_figure_manager return _get_backend_mod().new_figure_manager(args, **kwargs) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 3494, in new_figure_manager return cls.new_figure_manager_given_figure(num, fig) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 966, in new_figure_manager_given_figure manager = cls.FigureManager(canvas, num, window) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 423, in init self.toolbar = self._get_toolbar() File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 446, in _get_toolbar toolbar = NavigationToolbar2Tk(self.canvas, self.window) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 554, in init self._buttons[text] = button = self._Button( File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 680, in _Button NavigationToolbar2Tk._set_image_for_button(self, b) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 659, in _set_image_for_button image = ImageTk.PhotoImage(im.resize((size, size)), master=self) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/PIL/Image.py", line 2305, in resize im = im.resize(size, resample, box) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/PIL/Image.py", line 2328, in resize return self._new(self.im.resize(size, resample, box)) ValueError: height and width must be > 0 /home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/mmcv/init.py:20: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details. warnings.warn( 100%|█████████████████████████████████████████████████| 28130/28130 [00:01<00:00, 23601.57it/s] /home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/sklearn/cluster/_kmeans.py:1412: FutureWarning: The default value of n_init will change from 10 to 'auto' in 1.4. Set the value of n_init explicitly to suppress the warning super()._check_params_vs_input(X, default_n_init=10) Traceback (most recent call last): File "tools/kmeans/kmeans_map.py", line 32, in plt.plot(x, y, linewidth=1, marker='o', linestyle='-', markersize=2) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 2769, in plot return gca().plot( File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 2274, in gca return gcf().gca(*kwargs) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 867, in gcf return figure() File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 808, in figure manager = new_figure_manager( File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 327, in new_figure_manager return _get_backend_mod().new_figure_manager(args, **kwargs) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 3494, in new_figure_manager return cls.new_figure_manager_given_figure(num, fig) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 966, in new_figure_manager_given_figure manager = cls.FigureManager(canvas, num, window) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 423, in init self.toolbar = self._get_toolbar() File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 446, in _get_toolbar toolbar = NavigationToolbar2Tk(self.canvas, self.window) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 554, in init self._buttons[text] = button = self._Button( File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 680, in _Button NavigationToolbar2Tk._set_image_for_button(self, b) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 659, in _set_image_for_button image = ImageTk.PhotoImage(im.resize((size, size)), master=self) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/PIL/Image.py", line 2305, in resize im = im.resize(size, resample, box) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/PIL/Image.py", line 2328, in resize return self._new(self.im.resize(size, resample, box)) ValueError: height and width must be > 0 /home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/mmcv/init.py:20: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details. warnings.warn( 100%|██████████████████████████████████████████████████| 28130/28130 [00:15<00:00, 1826.28it/s] /home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/sklearn/cluster/_kmeans.py:1412: FutureWarning: The default value of n_init will change from 10 to 'auto' in 1.4. Set the value of n_init explicitly to suppress the warning super()._check_params_vs_input(X, default_n_init=10) Traceback (most recent call last): File "tools/kmeans/kmeans_motion.py", line 96, in plt.scatter(cluster[j, :, 0], cluster[j, :,1]) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 2819, in scatter ret = gca().scatter( File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 2274, in gca return gcf().gca(kwargs) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 867, in gcf return figure() File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 808, in figure manager = new_figure_manager( File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 327, in new_figure_manager return _get_backend_mod().new_figure_manager(args, kwargs) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 3494, in new_figure_manager return cls.new_figure_manager_given_figure(num, fig) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 966, in new_figure_manager_given_figure manager = cls.FigureManager(canvas, num, window) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 423, in init self.toolbar = self._get_toolbar() File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 446, in _get_toolbar toolbar = NavigationToolbar2Tk(self.canvas, self.window) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 554, in init self._buttons[text] = button = self._Button( File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 680, in _Button NavigationToolbar2Tk._set_image_for_button(self, b) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 659, in _set_image_for_button image = ImageTk.PhotoImage(im.resize((size, size)), master=self) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/PIL/Image.py", line 2305, in resize im = im.resize(size, resample, box) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/PIL/Image.py", line 2328, in resize return self._new(self.im.resize(size, resample, box)) ValueError: height and width must be > 0 /home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/mmcv/init.py:20: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details. warnings.warn( 100%|████████████████████████████████████████████████| 28130/28130 [00:00<00:00, 152250.51it/s] /home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/sklearn/cluster/_kmeans.py:1412: FutureWarning: The default value of n_init will change from 10 to 'auto' in 1.4. Set the value of n_init explicitly to suppress the warning super()._check_params_vs_input(X, default_n_init=10) Traceback (most recent call last): File "tools/kmeans/kmeans_plan.py", line 34, in plt.scatter(cluster[j, :, 0], cluster[j, :,1]) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 2819, in scatter __ret = gca().scatter( File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 2274, in gca return gcf().gca(kwargs) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 867, in gcf return figure() File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 808, in figure manager = new_figure_manager( File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/pyplot.py", line 327, in new_figure_manager return _get_backend_mod().new_figure_manager(args, kwargs) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 3494, in new_figure_manager return cls.new_figure_manager_given_figure(num, fig) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 966, in new_figure_manager_given_figure manager = cls.FigureManager(canvas, num, window) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 423, in init self.toolbar = self._get_toolbar() File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 446, in _get_toolbar toolbar = NavigationToolbar2Tk(self.canvas, self.window) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 554, in init self._buttons[text] = button = self._Button( File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 680, in _Button NavigationToolbar2Tk._set_image_for_button(self, b) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/matplotlib/backends/_backend_tk.py", line 659, in _set_image_for_button image = ImageTk.PhotoImage(im.resize((size, size)), master=self) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/PIL/Image.py", line 2305, in resize im = im.resize(size, resample, box) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/PIL/Image.py", line 2328, in resize return self._new(self.im.resize(size, resample, box)) ValueError: height and width must be > 0

What happened? File "tools/kmeans/kmeans_det.py", line 36: plt.scatter(cluster[:,0], cluster[:,1]) cluster[:,0]/cluster[:,1] look like: [-2.98114266e+01 2.52866438e+00 1.95459740e+01 -8.47272936e+00 -1.63756298e+01 1.51084848e+01 3.82966015e+00 -9.56914710e+00 -8.82366884e+00 2.32547450e+01 -3.15938647e+01 3.37598792e+01 2.80305557e+00 1.34288768e+01 3.99965242e+00 -3.85565147e+01 -1.65526113e+01 1.37841562e+01 5.66069469e+00 -2.42439363e+01 -1.19945942e+01 -1.13976944e-01 -1.34068337e+01 2.85070368e+01 1.82439852e+01 3.31991669e+01 -4.35098309e+01 -6.74970470e+00 -2.15379024e+01 -4.91950591e+00 -1.03375555e+01 -4.02194663e+01 4.27527984e+01 -1.76321632e+01 2.99482994e+00 4.77137167e+00 -2.32374690e+01 2.40691907e+01 1.02518979e+01 2.69718200e-01 3.97854574e+01 -2.83633422e+01 5.05073129e+00 1.02351446e+01 -7.25955488e+00 3.12392260e+01 -1.31928585e+01 4.03323761e+00 2.01054764e+01 2.28157716e+01 4.65074943e+00 -1.74051577e+01 -6.63077778e+00 -2.60160076e+01 -1.24456268e+01 1.02230721e+01 1.20275140e+01 -2.40459756e+01 -1.35153351e+01 -3.03743185e+00 3.96648241e+01 -4.15028480e+01 3.85150753e-01 4.11725539e+01 -8.58980708e+00 1.03145566e+01 -1.84329807e+01 1.96401969e+01 3.92475859e+01 -3.12926707e+00 7.62490114e+00 -4.05419701e+01 -1.06822087e+01 6.97881790e+00 2.29006280e+01 -3.64181898e+00 7.30421494e+00 3.08705093e+01 -2.34201055e+01 -1.94753614e+01 -1.02503795e+01 -1.87585339e+01 1.19984703e+01 5.21253334e+01 -3.63582952e+01 -5.66206747e+00 6.77499971e+00 -2.25543008e+00 -3.48793500e+01 -1.07618278e+01 -2.43953535e+01 -4.66535166e+01 -1.53615294e+01 2.54668080e+01 -2.57172281e+01 -2.97670867e+01 4.75791738e+00 -7.11689843e-02 1.12919803e+01 -1.02345717e+01 -3.00255089e+01 1.23758824e+01 -1.87775805e+01 -5.73971929e+00 2.29151606e+01 -1.92710531e+01 4.44050316e+00 -5.44348385e+00 -2.54106592e+01 1.40648962e+01 -9.30070454e+00 1.05351231e+01 3.02408300e+00 1.59418736e+01 -4.85726283e+01 1.40917813e+01 1.06203054e+01 2.83284408e+01 4.79373956e+01 4.93182227e+00 2.46208044e+01 2.21524243e+01 2.25129467e+01 1.08761035e+01 -3.36397380e+01 -1.28116424e+01 -3.46664802e-02 -3.09391936e+01 -6.82998412e+00 1.36781333e+01 -1.05362556e+01 -4.95209300e+00 -9.47381771e+00 -1.64799945e+01 4.99595693e+00 7.77790623e+00 -1.55130141e+01 -1.67995569e+01 3.52589559e+01 -3.36235794e+00 -6.05076210e+00 1.39288810e+01 -3.16938758e+00 2.72308879e+01 -4.70322302e+01 4.64233437e+00 7.68462687e+00 3.40841394e+01 2.63350183e+00 1.98016655e+01 3.52473870e+01 -2.55274526e+01 8.97434070e+00 -1.71694009e+01 -1.86410792e+01 4.71809250e+01 4.18685759e+00 -7.02670448e-01 1.49370209e-02 -4.83631548e+01 -3.95946836e-01 -1.53140446e+01 -8.27609056e+00 1.23926295e+01 1.49137548e+00 9.91038955e+00 5.96647708e-01 2.19878601e+01 -1.03265037e+01 -3.16979870e+01 -2.15139263e-01 -1.31709545e+01 -4.42992028e+01 -2.85296159e+01 -3.86845797e+01 -2.87949773e+01 -1.23602354e+01 3.14227364e+01 8.33629406e+00 2.47795809e+01 -1.37418127e+01 4.29622221e+00 3.75754195e+01 -1.05674236e+01 4.22524966e+00 -3.34018631e+01 -3.43174981e+00 1.49577163e+01 -1.85537291e+01 8.89859077e+00 1.92194779e+01 -8.10030388e-02 3.04411024e+01 3.32102364e+01 -5.51686188e+00 -2.79650994e+01 -6.62466009e+00 7.07367000e+00 -2.17980378e+01 9.89384686e+00 -2.15349018e+01 2.30102114e+01 -2.04458604e+01 -4.37390966e+01 -6.84281770e+00 2.18429348e+01 1.57547583e+01 -8.01871587e+00 -7.99866005e+00 -2.20616519e+01 2.21638663e+00 3.03377470e+00 -1.83046602e+01 6.13893180e+00 -1.42016239e+01 -5.53350314e-01 -3.98456403e+00 -3.44084356e+01 -4.12387449e+01 4.53973696e+01 -2.33339085e+01 9.06677492e+00 -3.81892544e+01 -1.12423572e+01 -2.02863694e+01 1.65693430e+01 4.34019398e+00 -1.23257430e+01 4.68085014e+01 -1.60200059e+01 1.71223932e+01 4.36792437e+01 7.21839385e+00 1.51209030e+01 3.13325312e+01 3.40573331e+00 -2.61003236e+01 3.12182779e+01 9.13237682e+00 5.93511697e+00 6.91389354e+00 -3.40228396e+00 -3.18367684e+00 6.32700045e+00 -6.46689505e+00 4.27934196e+01 -2.83393877e+00 -8.07533332e+00 -5.29524661e+01 2.86935390e+01 2.27127964e+01 2.84514370e+01 -4.42828058e+00 -4.23837641e+01 -1.22554799e+01 2.32551736e+01 -3.74836028e+00 1.07842951e+01 2.14549224e+01 9.08798431e+00 -2.75167293e+01 -1.97403777e+01 -1.76053303e+01 -5.14401228e-01 -1.41327988e+01 2.55232272e+01 2.23478585e+01 -1.71940796e+01 4.76567232e+01 2.53285016e+01 -2.25620223e+01 2.64511260e+00 9.66744209e+00 -2.61091909e+01 -3.13298467e+01 -5.23735825e+01 -1.09213425e+01 -3.39177758e+00 1.86916113e+01 -5.30504249e+00 1.40648576e+01 -1.60264304e+01 1.41150598e+01 2.04988831e+00 -1.95293101e+01 -3.00996461e+00 6.36168859e+00 -2.87234373e+01 1.41305597e+01 -1.13306116e+01 -2.19980191e+01 1.71960230e+01 1.10619994e+01 -3.75662353e+00 -4.78068458e-02 -3.07708741e+01 9.34155315e+00 -1.72397285e+01 -1.25283739e+01 -4.89138675e+01 2.80476697e+00 1.40672090e+01 3.51249204e+01 2.81237715e+01 1.50983427e+01 1.33500795e+01 -1.21015364e+01 -1.64770928e+01 -7.97991739e+00 -2.16176934e+01 4.56248567e+01 -7.47535412e-01 -2.22028518e+01 -4.72374849e+01 4.25395772e+01 -1.78923487e+01 -1.11966827e+01 3.08418295e+01 -1.24735037e+01 -1.90918314e+01 -7.59905634e+00 1.98681265e+01 -1.01023538e+01 5.21734405e+01 3.02889885e+00 2.50960091e+01 2.48332715e+00 3.27200174e+01 -1.28525429e+01 7.25183094e+00 -3.15488021e+01 3.68398735e+00 7.77143756e+00 -1.54972569e-01 1.06629508e+01 -1.92553327e+01 8.33131791e+00 3.40692154e+01 -9.51336525e+00 1.98718844e+01 -7.67571350e+00 -3.32651716e+01 3.68189514e+01 3.80321937e+01 9.13798405e+00 -3.88626781e+01 3.01111548e+01 2.30602652e+00 -2.14337695e+01 1.36484778e+01 -1.18783553e+01 -5.53236730e+00 -1.52335748e+01 6.52868588e+00 -3.63058823e+01 -4.81915790e+00 2.81004574e+01 -2.98015201e+01 -2.65275442e+01 -1.69612498e+01 -2.99488879e+01 -3.22944424e+00 -3.72002863e+01 -1.83458794e+01 -1.36309811e+01 -4.05616878e+01 1.15539551e+01 5.06945100e+00 -1.43319226e+01 -1.62659155e-01 2.83859804e+01 1.40064652e+01 1.75813471e+01 -1.33687238e+00 -3.35514090e+01 1.79992178e+01 4.35910397e+00 -1.13832776e+01 -3.48286949e+01 -8.62360694e+00 1.70436827e+01 -1.33101919e+01 1.14594484e+01 8.18669881e+00 -3.17200816e+00 -2.65070958e+01 -1.43059485e+01 8.91295139e+00 2.91380159e+01 2.63068248e+00 3.24689302e+00 -1.38250844e+01 -4.40715699e+01 2.92440242e+01 -1.15532147e+01 2.55582313e+00 1.77350489e+01 2.47423281e+01 -2.56418708e+01 5.38620459e+00 2.35571719e+01 2.83327675e+01 -1.05383916e+01 -3.03554995e+00 7.99506949e+00 -5.14886496e+00 -1.38066525e+01 2.49449955e+00 3.49394511e+01 1.38366173e+01 -8.81071248e+00 -1.80638706e+01 -3.84266716e+01 -1.23555781e+01 8.58678901e+00 1.71261979e+01 -2.61757377e+01 -6.73170811e+00 1.65873362e+01 4.61468833e+00 -4.12437728e+01 3.50361526e+01 -4.29749199e+00 -9.09460996e+00 1.53047902e+01 -4.13428692e+01 1.10243504e+01 1.10652478e+01 -2.55077796e+01 -3.97565101e-01 2.86989043e+01 3.57712665e+01 3.48724773e+01 -3.76054475e-01 5.70841047e+00 3.04371570e+01 1.45770879e+01 3.72391239e+00 -3.86666353e+01 1.23022119e+01 -6.55195577e+00 2.85519770e+01 7.87051541e+00 -2.16970407e+01 -2.98211748e+00 -2.89529697e+01 3.42390210e+01 1.71054838e+01 -1.81048758e+01 -1.11253512e+01 -6.97014774e+00 2.10812728e+01 -1.32287399e+01 4.76333993e+01 3.98374341e+01 -2.22380091e+01 -2.19826046e+01 4.26695963e-02 -5.88859290e+00 -4.02055472e+01 -1.25092586e+01 -3.68101732e+01 -2.20488084e+01 -1.04552386e-01 2.24295662e+01 2.97746993e+01 -2.39308761e+01 4.24348524e+01 -1.09414626e+01 2.19465991e+01 -6.46387254e+00 -3.98518946e+00 1.11916954e+01 6.25003329e+00 -2.05297466e+01 -2.07352419e+01 -1.84380664e+01 -6.14309406e+00 3.60602295e+00 -3.62882794e+01 2.41835017e+00 2.50076101e+01 1.88198783e+01 3.16590240e+01 -1.33408079e+01 2.70983730e+00 -3.20770954e+01 -6.49082338e+00 1.98069682e+01 2.82921458e+01 -3.42723546e+01 -3.79288817e+00 3.65573857e+01 -2.62787917e+01 2.25154123e+01 -3.18850148e+01 3.16368285e+00 -1.38116917e+01 9.71882101e+00 -2.81927564e+01 -3.37563815e+00 6.99195758e+00 5.19641879e+00 1.29173975e+01 4.68792503e+01 8.85415612e+00 -4.42405877e+01 -3.65721363e+01 4.07345596e+01 3.85907084e+01 1.18763090e+01 -2.22180698e+01 1.69569235e+01 -2.03668061e+01 1.80941069e+01 -4.33647619e+01 3.18314759e+00 -2.23888443e+01 -3.48953765e+01 2.70467020e+01 5.36552814e+00 5.42143398e+00 -3.24171566e+01 2.71861105e+01 -3.65086413e+00 5.10018150e+01 -3.17740474e-01 2.90461169e+01 1.05951882e+01 -2.74781745e+01 -2.87240363e+01 5.05609904e+00 4.23123598e+01 -6.09363409e+00 -6.28727205e+00 -1.00896440e+01 -3.72554284e+01 -1.76020299e+01 -3.39596961e+00 -5.59750572e+00 -2.97337896e+00 -5.66785922e+00 -2.38354447e+01 -1.09834531e+01 1.03803892e+01 6.81681807e+00 1.29983185e+01 6.95337151e+00 2.69289521e+01 -1.89581226e+01 -2.56174962e+00 -1.09169333e+01 -7.24676585e+00 1.79141813e+01 6.31027063e+00 8.78621001e+00 -5.18435499e+01 -4.70317425e+01 -1.91004330e+01 1.46244870e+01 -2.02124645e+01 -1.88653013e+01 -2.32726496e+01 -2.27160417e+00 2.48486487e+00 -1.13617319e+01 1.02816394e+01 4.74981806e+01 2.01134312e+01 3.27491596e+00 -2.90066916e+00 -3.67443351e+01 -1.44663605e+01 -1.49877378e+01 9.50493373e+00 -5.91786963e+00 1.50214078e+01 1.02605657e+01 -6.49598970e+00 -3.32848940e+00 2.94104285e+00 -7.69586582e+00 -2.59609867e+01 1.45603933e+01 1.85318598e+01 -3.18711975e+00 -1.78037616e+01 4.62903215e+00 1.90979809e+01 -4.59417698e+01 1.88150637e+00 -2.58000055e+01 -9.66203370e+00 1.60287235e-02 3.68606398e+01 1.82345075e+01 2.46772709e+00 2.53043896e+01 -1.43231603e+01 2.17855594e+01 1.79008937e+01 -1.53260146e+01 3.78952325e+00 -1.61582280e+01 -2.27338581e+01 1.85207912e+01 -5.91003219e+00 1.96252503e+01 -1.60279464e+01 -2.19541899e+01 -1.55578101e+01 -9.54070169e+00 2.16317510e+01 -1.29182560e+01 1.71446581e+01 2.57792492e+01 2.66788046e+00 1.61109614e+01 -2.43244041e+01 -3.13524418e+01 1.98804244e+01 -3.64956875e+00 -1.37186313e+01 -1.53851053e+01 -3.28664048e+00 -2.91324283e+00 2.52602833e+01 2.68110530e+01 8.94388820e+00 1.75370054e+00 -1.87528403e+01 8.14693438e+00 -2.15357202e+00 3.87110406e+01 3.21859108e+01 -1.37739015e+01 8.38594044e+00 -2.89919948e+01 -7.37982388e+00 2.13916707e-01 -1.94514757e+01 -3.17019391e+01 5.70265822e+00 2.92267083e+00 2.33229148e+01 1.12376219e+01 -2.91310356e+00 -1.53260315e+01 8.26881932e+00 -1.64665480e+01 7.33150878e+00 -5.95476545e+00 1.98887628e+01 2.67550105e+01 -3.75059613e+01 5.02552080e+00 2.27198715e+00 -1.28977086e+01 6.26980811e+00 -4.65067978e+01 4.16442262e+00 -7.51113081e+00 3.45860189e+01 7.34825629e+00 1.05011103e+01 8.88307821e+00 -3.44361034e+01 -1.03997140e+01 1.84438389e+01 2.54823379e+01 -2.16925671e+01 -1.01637792e+01 5.05594734e+01 -1.75416176e+01 -5.25265601e+01 -3.01041557e+01 2.58268213e+01 4.86933401e+01 2.47887119e+00 -2.48609568e+01 -8.38507021e+00 2.46901721e+01 -3.38818424e+00 3.66863408e+00 4.88585120e+01 -2.74443029e+01 1.69034775e+01 2.01026647e+01 -3.29600765e+01 -4.90029403e+01 -7.67345198e+00 -1.32480668e+01 1.44988375e+01 7.16747940e+00 2.60736428e+01 3.20591557e+01 1.38987339e+01 -1.00162068e+01 9.88482896e+00 4.60564196e+00 -2.12855586e+01 -1.30479123e+01 3.20490476e+00 -1.60941647e+01 -1.29554694e+01 -5.14871011e+01 1.16274097e+01 -3.59216897e+01 -1.18417121e+01 1.50697553e+01 4.30170012e+01 1.45644253e+01 -5.17862887e+00 5.93286966e+00 4.17631635e+01 2.20108669e+01 1.46396703e+01 2.93658583e+00 7.58410720e+00 -2.17776146e+01 1.28583596e+01 -3.47795782e+01 3.03733920e+01 -1.03547522e-01 3.82011178e+01 1.65463897e+01 -7.20925303e+00 -2.34945601e+01 -4.33578700e+01 5.09168621e+00 -1.21401742e+01 3.42477189e+01 8.01248369e+00 -2.64869496e+01 -3.48394496e+00 -6.38342660e+00 5.55953135e+00 6.90416359e+00 -8.87202203e+00 1.47329179e+01 6.30531677e+00 -2.86248032e+01 3.93382588e+01 7.55898586e+00 2.11339651e+01 5.68184514e+00 5.22756808e+01 3.51246560e+01 6.39324404e+00 -3.46400953e+01 3.10242283e+01 -1.19425976e+01 3.46695425e+01 -1.64683849e+01 -9.41830703e+00 -2.20053537e+01 -3.64922426e+01 -4.13606023e+01 5.00164085e+00 2.86756911e+00 2.26417065e+01 -1.53127461e+01 1.31515548e+01 -3.29647569e+01 3.32464868e+00 1.99443778e+01 1.07096355e+01 -7.97230822e+00 -1.11646437e+01 -9.87453202e+00 5.18979604e+01 7.97299403e+00 -9.82024682e-03 -6.21759028e+00 -5.44357778e+00 -3.10013989e-01 -3.72027489e+00 -9.59526122e+00 -7.90442847e+00 1.43899147e+01 -5.30124191e+00 3.79004695e+01 2.15433656e+00 -2.95342704e+01 -1.72944464e+01 -1.55973583e+01 -2.69742786e+00 1.17076216e+01 2.25277717e+01 -4.46295107e+01 2.25106610e+01 -5.89862808e+00 -3.20901637e+01 1.45647691e+01 1.81205331e+00 4.48019920e+01 3.74362722e+01 -1.63481541e+01 -7.22131054e+00 -1.64160520e+01 3.86165032e-02 -5.89669907e+00 -1.56225457e+01 3.93939149e-02 -2.85553042e+01 2.62118272e+01 -2.61674987e+01 2.22267708e+01 1.13981996e+01 2.02516732e+01 1.57221700e+01 -3.25299116e+01 1.48578094e+01 2.13261471e+01 7.83144645e+00 -2.29889693e+01 1.96252517e+01 1.73545182e+01 1.89798680e+01 -2.73066273e+01 5.13863024e+00 4.46525255e+01 -2.54924895e+01 3.26804218e+01 2.52975174e-02 4.00209247e+01 -2.21745841e-01 3.14525534e+01 5.71391851e+00 -3.92523330e+01 1.15789246e+01 -2.82699614e+00 6.30173093e+00 -1.42639863e+01 2.27299060e+01 1.13216252e+01 -1.88200685e+01 -1.24586417e+01 3.18904385e+01 5.03619705e+00 1.02159318e+01 -3.51613553e+01 2.40546189e+01 -1.45764076e+01 -2.18266625e+01 -1.62771422e+01 1.02116725e+01 2.45537113e+00 2.54916857e+01 -9.67900018e+00 -3.15914542e+01 2.74809252e+00 -4.05870776e+01 2.70114208e+01 -1.85505528e+01 2.77717922e+01 4.19678266e+00 3.65614129e+00 7.08967736e+00 1.81606063e+01 -3.00663813e+01 -4.00724134e+01 -2.02288502e+01 2.11659259e+01 -4.04501412e+01 1.37783782e+01 -1.00845841e+01 -1.74055213e+01 2.57155584e+01 1.57392726e+01 4.21073328e+01 8.05982979e+00 -2.49811990e+01 7.58594064e+00 1.68129099e+01 5.51496785e+00 2.55068341e+01 1.43880363e+01 -3.54372072e+00 3.17503344e+01 -2.23446773e+01 1.00867652e+01 -2.58874215e+01 -2.95622367e+01 -3.12588765e+01 -3.27956281e+01 -4.49273540e+01 -4.73630745e+01 2.84839075e+01 1.19323802e+01 -9.69032249e+00 -1.86801416e+01 2.31018985e+01 -9.07736148e+00 1.64560530e+01 -1.17371967e+01 8.59282084e+00 -8.98238794e+00 -1.13936730e+01 -5.18482144e+01]

swc-17 commented 2 months ago

It seems there are some problems with visualization, try to comment out the code to skip visualization and check if there are further problems.

suayu commented 2 months ago

I skipped the visualization. And then this error happens. Seems to be a problem with the GPU memory.

ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: -9) local_rank: 0 (pid: 2304340) of binary: /home/suayu/miniconda3/envs/sparsedrive/bin/python3 Traceback (most recent call last): File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/torch/distributed/launch.py", line 195, in main() File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/torch/distributed/launch.py", line 191, in main launch(args) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/torch/distributed/launch.py", line 176, in launch run(args) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/torch/distributed/run.py", line 753, in run elastic_launch( File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/torch/distributed/launcher/api.py", line 132, in call return launch_agent(self._config, self._entrypoint, list(args)) File "/home/suayu/miniconda3/envs/sparsedrive/lib/python3.8/site-packages/torch/distributed/launcher/api.py", line 246, in launch_agent raise ChildFailedError( torch.distributed.elastic.multiprocessing.errors.ChildFailedError:

./tools/test.py FAILED

Failures:

Root Cause (first observed failure): [0]: time : 2024-09-11_15:43:54 host : suayu-Z490-AORUS-PRO-AX rank : 0 (local_rank: 0) exitcode : -9 (pid: 2304340) error_file: traceback : Signal 9 (SIGKILL) received by PID 2304340
swc-17 commented 2 months ago

Please provide more detailed information about the error.

swc-17 commented 2 months ago

Based on the previous error, maybe the anchors are not clustered correctly, could you check the shape of anchors?

suayu commented 1 week ago

issue solved. thks.