Repository for our paper: FLD: Fourier Latent Dynamics for Structured Motion Representation and Learning, Proceedings of the 12th International Conference on Learning Representations (ICLR)
Hi, I got an error below when i run "python scripts/fld/evaluate.py",can you help?thanks.
[FLD] Training started.
[FLD] Training iteration 0/5000.
Backend TkAgg is interactive backend. Turning interactive mode on.
Traceback (most recent call last):
File "/home/zhl/projects/fld/scripts/fld/training.py", line 218, in train
self.plotter.plot_pca(self.ax3, eval_manifold_collection, "Phase Manifold (" + str(self.num_motions) + " Random Sequences)")
File "/home/zhl/projects/fld/learning/modules/plotter.py", line 25, in plot_pca
manifolds_pca = torch.tensor(self.pca.fit_transform(manifolds)).split(num_steps, dim=0)
File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/sklearn/utils/_set_output.py", line 157, in wrapped
data_to_wrap = f(self, X, *args, *kwargs)
File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/sklearn/base.py", line 1152, in wrapper
return fit_method(estimator, args, **kwargs)
File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform
U, S, Vt = self._fit(X)
File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/sklearn/decomposition/_pca.py", line 512, in _fit
return self._fit_truncated(X, n_components, self._fit_svd_solver)
File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/sklearn/decomposition/_pca.py", line 616, in _fit_truncated
U, S, Vt = randomized_svd(
File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/sklearn/utils/extmath.py", line 461, in randomized_svd
Uhat, s, Vt = linalg.svd(B, full_matrices=False, lapack_driver=svd_lapack_driver)
File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/scipy/linalg/decomp_svd.py", line 106, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/scipy/_lib/_util.py", line 262, in _asarray_validated
a = toarray(a)
File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/numpy/lib/function_base.py", line 603, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Hi, I got an error below when i run "python scripts/fld/evaluate.py",can you help?thanks. [FLD] Training started. [FLD] Training iteration 0/5000. Backend TkAgg is interactive backend. Turning interactive mode on. Traceback (most recent call last): File "/home/zhl/projects/fld/scripts/fld/training.py", line 218, in train self.plotter.plot_pca(self.ax3, eval_manifold_collection, "Phase Manifold (" + str(self.num_motions) + " Random Sequences)") File "/home/zhl/projects/fld/learning/modules/plotter.py", line 25, in plot_pca manifolds_pca = torch.tensor(self.pca.fit_transform(manifolds)).split(num_steps, dim=0) File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/sklearn/utils/_set_output.py", line 157, in wrapped data_to_wrap = f(self, X, *args, *kwargs) File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/sklearn/base.py", line 1152, in wrapper return fit_method(estimator, args, **kwargs) File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/sklearn/decomposition/_pca.py", line 460, in fit_transform U, S, Vt = self._fit(X) File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/sklearn/decomposition/_pca.py", line 512, in _fit return self._fit_truncated(X, n_components, self._fit_svd_solver) File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/sklearn/decomposition/_pca.py", line 616, in _fit_truncated U, S, Vt = randomized_svd( File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/sklearn/utils/extmath.py", line 461, in randomized_svd Uhat, s, Vt = linalg.svd(B, full_matrices=False, lapack_driver=svd_lapack_driver) File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/scipy/linalg/decomp_svd.py", line 106, in svd a1 = _asarray_validated(a, check_finite=check_finite) File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/scipy/_lib/_util.py", line 262, in _asarray_validated a = toarray(a) File "/home/zhl/APP/anaconda3/envs/fld/lib/python3.8/site-packages/numpy/lib/function_base.py", line 603, in asarray_chkfinite raise ValueError( ValueError: array must not contain infs or NaNs