You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
train-cluster doesn't work properly.
When I execute svc train-cluster , the following text will be returned.
root@nqwk2i0rml:/notebooks# svc train-cluster
Training clusters: 0%| | 0/1 [00:00<?, ?it/s][06:25:28] INFO [06:25:28] Loading features from dataset/44k/yukino train_cluster.py:28
WARNING [06:25:28] /usr/local/lib/python3.9/dist-packages/torch/_utils.py:776: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will warnings.py:109
be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of
tensor.storage()
return self.fget.get(instance, owner)()
[06:25:37] INFO [06:25:37] shape: (942598, 768), size: 2761.52 MB, dtype: float32 train_cluster.py:42
Training clusters: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:13<00:00, 13.55s/it]
joblib.externals.loky.process_executor._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/joblib/externals/loky/process_executor.py", line 428, in _process_worker
r = call_item()
File "/usr/local/lib/python3.9/dist-packages/joblib/externals/loky/process_executor.py", line 275, in call
return self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/dist-packages/joblib/parallel_backends.py", line 620, in call
return self.func(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/joblib/parallel.py", line 288, in call
return [func(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/joblib/parallel.py", line 288, in
return [func(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/so_vits_svc_fork/cluster/train_cluster.py", line 123, in train_cluster
return input_path.stem, train_cluster(input_path, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/so_vits_svc_fork/cluster/train_cluster.py", line 47, in train_cluster
kmeans = MiniBatchKMeans(
File "/usr/local/lib/python3.9/dist-packages/sklearn/cluster/_kmeans.py", line 1972, in fit
self._check_params(X)
File "/usr/local/lib/python3.9/dist-packages/sklearn/cluster/_kmeans.py", line 1804, in _check_params
super()._check_params(X)
File "/usr/local/lib/python3.9/dist-packages/sklearn/cluster/_kmeans.py", line 818, in _check_params
if self.n_init <= 0:
TypeError: '<=' not supported between instances of 'str' and 'int'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/svc", line 8, in
sys.exit(cli())
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/so_vits_svc_fork/main.py", line 904, in train_cluster
main(
File "/usr/local/lib/python3.9/dist-packages/so_vits_svc_fork/cluster/train_cluster.py", line 126, in main
parallel_result = Parallel(n_jobs=-1)(
File "/usr/local/lib/python3.9/dist-packages/joblib/parallel.py", line 1098, in call
self.retrieve()
File "/usr/local/lib/python3.9/dist-packages/joblib/parallel.py", line 975, in retrieve
self._output.extend(job.get(timeout=self.timeout))
File "/usr/local/lib/python3.9/dist-packages/joblib/_parallel_backends.py", line 567, in wrap_future_result
return future.result(timeout=timeout)
File "/usr/lib/python3.9/concurrent/futures/_base.py", line 446, in result
return self.__get_result()
File "/usr/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
raise self._exception
TypeError: '<=' not supported between instances of 'str' and 'int'
running training on paperspace.
Normal training can be done without problems.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
train-cluster doesn't work properly.
When I execute
svc train-cluster
, the following text will be returned.root@nqwk2i0rml:/notebooks# svc train-cluster
Training clusters: 0%| | 0/1 [00:00<?, ?it/s][06:25:28] INFO [06:25:28] Loading features from dataset/44k/yukino train_cluster.py:28
WARNING [06:25:28] /usr/local/lib/python3.9/dist-packages/torch/_utils.py:776: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will warnings.py:109
be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of
tensor.storage()
return self.fget.get(instance, owner)()
[06:25:37] INFO [06:25:37] shape: (942598, 768), size: 2761.52 MB, dtype: float32 train_cluster.py:42
Training clusters: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:13<00:00, 13.55s/it]
joblib.externals.loky.process_executor._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/joblib/externals/loky/process_executor.py", line 428, in _process_worker
r = call_item()
File "/usr/local/lib/python3.9/dist-packages/joblib/externals/loky/process_executor.py", line 275, in call
return self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/dist-packages/joblib/parallel_backends.py", line 620, in call
return self.func(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/joblib/parallel.py", line 288, in call
return [func(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/joblib/parallel.py", line 288, in
return [func(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/so_vits_svc_fork/cluster/train_cluster.py", line 123, in train_cluster
return input_path.stem, train_cluster(input_path, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/so_vits_svc_fork/cluster/train_cluster.py", line 47, in train_cluster
kmeans = MiniBatchKMeans(
File "/usr/local/lib/python3.9/dist-packages/sklearn/cluster/_kmeans.py", line 1972, in fit
self._check_params(X)
File "/usr/local/lib/python3.9/dist-packages/sklearn/cluster/_kmeans.py", line 1804, in _check_params
super()._check_params(X)
File "/usr/local/lib/python3.9/dist-packages/sklearn/cluster/_kmeans.py", line 818, in _check_params
if self.n_init <= 0:
TypeError: '<=' not supported between instances of 'str' and 'int'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/svc", line 8, in
sys.exit(cli())
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/so_vits_svc_fork/main.py", line 904, in train_cluster
main(
File "/usr/local/lib/python3.9/dist-packages/so_vits_svc_fork/cluster/train_cluster.py", line 126, in main
parallel_result = Parallel(n_jobs=-1)(
File "/usr/local/lib/python3.9/dist-packages/joblib/parallel.py", line 1098, in call
self.retrieve()
File "/usr/local/lib/python3.9/dist-packages/joblib/parallel.py", line 975, in retrieve
self._output.extend(job.get(timeout=self.timeout))
File "/usr/local/lib/python3.9/dist-packages/joblib/_parallel_backends.py", line 567, in wrap_future_result
return future.result(timeout=timeout)
File "/usr/lib/python3.9/concurrent/futures/_base.py", line 446, in result
return self.__get_result()
File "/usr/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
raise self._exception
TypeError: '<=' not supported between instances of 'str' and 'int'
running training on paperspace.
Normal training can be done without problems.
Beta Was this translation helpful? Give feedback.
All reactions