RecursionError: maximum recursion depth exceeded

Hey guys! I’m trying tensorflow and ML for the first time and I’m coding a basic project just to get started. You can see my code here: tensorflow-imdb-reviewer/ at main · pendragonarthur/tensorflow-imdb-reviewer · GitHub

When I run my code, the data download starts and when it gets to 100%, I get this error:

RecursionError: maximum recursion depth exceeded

Preceeded by hundreds of lines of

File “C:\Users\Arthur\AppData\Local\Programs\Python\Python312\Lib\site-packages\etils\epath\”, line 99, in _uri_scheme
len( >= 2
File “C:\Users\Arthur\AppData\Local\Programs\Python\Python312\Lib\”, line 706, in parts
if or self.root:

Any ideas?

Hi @arthur_quaresma, I have tried to load the imdb_reviews dataset using tfds.load( ) method in colab and I did not face any error. please refer to this gist for working code example. Could you please let us know in which environment you are facing this issue. Thank You

Yes, I’m using VSCode, python 3.12, windows11 (unfortunately), tensorflow latest stable version too.