PyCaret 有错误“输入包含无穷大或值对于 dtype('float32') 来说太大了”在 python 中

问题描述

当我运行以下代码时,发生了错误。 有人可以帮我吗?

我已经检查过数据中没有缺失值和无穷大。

错误信息如下。

ValueError: 输入包含无穷大或对于 dtype('float32') 来说太大的值。

有很多人遇到过类似的错误,我也提到了如何处理,但最终还是没能解决问题。

【资料】 https://www.dropbox.com/t/59QxFeQIVDuX5dTf

代码

Downloading and preparing dataset nsynth/full/2.3.3 (download: 73.07 GiB,generated: 73.09 GiB,total: 146.16 GiB) to /content/data/nsynth/full/2.3.3...
WARNING:absl:Dataset nsynth is hosted on GCS. It will automatically be downloaded to your
local data directory. If you'd instead prefer to read directly from our public
GCS bucket (recommended if you're running on GCP),you can instead pass
`try_gcs=True` to `tfds.load` or set `data_dir=gs://tfds-data/datasets`.

Dl Completed...: 94%
1008/1069 [22:00<01:19,1.31s/ file]

---------------------------------------------------------------------------
ResourceExhaustedError                    Traceback (most recent call last)
<ipython-input-6-5f6fe90b96cd> in <module>()
      1 ds_train,ds_test = tfds.load(
----> 2     name="nsynth",split=["train","test"],data_dir=data_dir
      3 )

7 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/lib/io/file_io.py in copy_v2(src,dst,overwrite)
    581   """
    582   _pywrap_file_io.copyFile(
--> 583       compat.path_to_bytes(src),compat.path_to_bytes(dst),overwrite)
    584 
    585 

ResourceExhaustedError: /content/data/nsynth/full/2.3.3.incompleteTLJWXL/nsynth-train.tfrecord-01007-of-01024; No space left on device

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)