Giter Site home page Giter Site logo

Characters Exceed error about lit HOT 2 CLOSED

pair-code avatar pair-code commented on August 22, 2024
Characters Exceed error

from lit.

Comments (2)

tolga-b avatar tolga-b commented on August 22, 2024

Hi salmanahmed1993,
The error seems to happen outside of LIT while downloading the dataset in tensorflow_datasets package. I personally have not tried using LIT in Windows, but it seems that the directory path is longer than 260 characters and that makes the dataset download fail.
Have you tried removing the max path length limitation as suggested in https://docs.python.org/3/using/windows.html#removing-the-max-path-limitation? That may help if you are using Windows 10 and NTFS drives I believe.

from lit.

salmanahmed1993 avatar salmanahmed1993 commented on August 22, 2024
  1. Open the Local Group Policy Editor.

  2. In the left pane of the local group policy editor, navigate to the location below.

Computer Configuration\Administrative Templates\System\Filesystem

  1. In the right pane of Filesystem in Local Group Policy Editor, double click/tap on the Enable Win32 long paths policy to edit it.

  2. Do step 5 (enable) or step 6 (disable) below for what you would like to do.

  3. To Enable Win32 Long Paths

A) Select (dot) Enabled, click/tap on OK, and go to step 7 below.

  1. To Disable Win32 Long Paths

A) Select (dot) Not Configured or Disabled, click/tap on OK, and go to step 7 below.

note: Not Configured is the default setting.

Enable or Disable Win32 Long Paths in Windows 10-win32_long_paths_gpedit-2.png

  1. When finished, you can close the local group policy editor if you like.

from lit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.