The number of rows in your dataset is greater than the maximum allowed (5000) #86

Closed
opened 2023-03-07 18:03:44 +00:00 by yqxtqymn · 1 comment

Getting some errors in console after 8 hour training. It didn't crash or affect the model as far as I can tell. Something about the new graph not liking 20k epochs.

Traceback (most recent call last):
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/routes.py", line 384, in run_predict
output = await app.get_blocks().process_api(
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1032, in process_api
result = await self.call_function(
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/blocks.py", line 844, in call_function
prediction = await anyio.to_thread.run_sync(
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/ai-voice-cloning/src/utils.py", line 1031, in update_training_dataplot
update = gr.LinePlot.update(value=pd.DataFrame(training_state.statistics), x_lim=[0,training_state.its], x="step", y="value", title="Training Metrics", color="type", tooltip=['step', 'value', 'type'], width=600, height=350,)
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/components.py", line 4800, in update
value = {"type": "altair", "plot": chart.to_json(), "chart": "line"}
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/altair/utils/schemapi.py", line 393, in to_json
dct = self.to_dict(validate=validate, ignore=ignore, context=context)
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/altair/vegalite/v4/api.py", line 374, in to_dict
copy.data = _prepare_data(original_data, context)
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/altair/vegalite/v4/api.py", line 89, in _prepare_data
data = _pipe(data, data_transformers.get())
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/toolz/functoolz.py", line 628, in pipe
data = func(data)
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/toolz/functoolz.py", line 304, in call
return self._partial(*args, **kwargs)
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/altair/vegalite/data.py", line 19, in default_data_transformer
return curried.pipe(data, limit_rows(max_rows=max_rows), to_values)
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/toolz/functoolz.py", line 628, in pipe
data = func(data)
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/toolz/functoolz.py", line 304, in call
return self._partial(*args, **kwargs)
File "/ai-voice-cloning/venv/lib/python3.10/site-packages/altair/utils/data.py", line 80, in limit_rows
raise MaxRowsError(
altair.utils.data.MaxRowsError: The number of rows in your dataset is greater than the maximum allowed (5000). For information on how to plot larger datasets in Altair, see the documentation

Getting some errors in console after 8 hour training. It didn't crash or affect the model as far as I can tell. Something about the new graph not liking 20k epochs. > Traceback (most recent call last): File "/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/routes.py", line 384, in run_predict output = await app.get_blocks().process_api( File "/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1032, in process_api result = await self.call_function( File "/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/blocks.py", line 844, in call_function prediction = await anyio.to_thread.run_sync( File "/ai-voice-cloning/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/ai-voice-cloning/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/ai-voice-cloning/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, *args) File "/ai-voice-cloning/src/utils.py", line 1031, in update_training_dataplot update = gr.LinePlot.update(value=pd.DataFrame(training_state.statistics), x_lim=[0,training_state.its], x="step", y="value", title="Training Metrics", color="type", tooltip=['step', 'value', 'type'], width=600, height=350,) File "/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/components.py", line 4800, in update value = {"type": "altair", "plot": chart.to_json(), "chart": "line"} File "/ai-voice-cloning/venv/lib/python3.10/site-packages/altair/utils/schemapi.py", line 393, in to_json dct = self.to_dict(validate=validate, ignore=ignore, context=context) File "/ai-voice-cloning/venv/lib/python3.10/site-packages/altair/vegalite/v4/api.py", line 374, in to_dict copy.data = _prepare_data(original_data, context) File "/ai-voice-cloning/venv/lib/python3.10/site-packages/altair/vegalite/v4/api.py", line 89, in _prepare_data data = _pipe(data, data_transformers.get()) File "/ai-voice-cloning/venv/lib/python3.10/site-packages/toolz/functoolz.py", line 628, in pipe data = func(data) File "/ai-voice-cloning/venv/lib/python3.10/site-packages/toolz/functoolz.py", line 304, in __call__ return self._partial(*args, **kwargs) File "/ai-voice-cloning/venv/lib/python3.10/site-packages/altair/vegalite/data.py", line 19, in default_data_transformer return curried.pipe(data, limit_rows(max_rows=max_rows), to_values) File "/ai-voice-cloning/venv/lib/python3.10/site-packages/toolz/functoolz.py", line 628, in pipe data = func(data) File "/ai-voice-cloning/venv/lib/python3.10/site-packages/toolz/functoolz.py", line 304, in __call__ return self._partial(*args, **kwargs) File "/ai-voice-cloning/venv/lib/python3.10/site-packages/altair/utils/data.py", line 80, in limit_rows raise MaxRowsError( altair.utils.data.MaxRowsError: The number of rows in your dataset is greater than the maximum allowed (5000). For information on how to plot larger datasets in Altair, see the documentation
Owner

Implemented an override in commit 7f89e8058a. Cannot validate, but I'm sure it's working.

Implemented an override in commit 7f89e8058acfea272e5e0b9fef784e1efa8d958b. Cannot validate, but I'm sure it's working.
mrq closed this issue 2023-03-07 19:35:06 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/ai-voice-cloning#86
No description provided.