Giter VIP home page Giter VIP logo

Comments (5)

pbcquoc avatar pbcquoc commented on July 19, 2024

hi e,
e thử cài lại pytorch version mới nhất hoặc version trùng với version trên notebook xem sao?

from vietocr.

hllj avatar hllj commented on July 19, 2024

Em thấy pytorch trên notebook là pytorch 1.9 với cuda 10.2, nhưng mà máy của em hiện chỉ có cuda 10.1 ạ.

from vietocr.

pbcquoc avatar pbcquoc commented on July 19, 2024

cuda ko cần cài lại. e thử các cách sau:

  • cài lại pytorch
  • set threading trong dataloader bằng 1
  • remove dataset vừa tạo để nó tạo lại nhé.

from vietocr.

hllj avatar hllj commented on July 19, 2024

Em có chỉnh lại num_workers trong dataloader thành 1, nhưng có vẻ không được ạ, mem GPU vẫn được sử dụng nhưng quá trình training vẫn không chạy ạ.
Selection_013

from vietocr.

pbcquoc avatar pbcquoc commented on July 19, 2024

mem gpu có là do model đã được khởi tạo. nhưng lúc loop qua dataset của e bị đứng.
sau khi khỏi tạo model e có thể lấy model.train_gen sau đó loop qua để check thử bị sao nhé.

model = ...
data_iter = iter(model.train_gen)
next(data_iter)  # em check xem dòng này chạy được ko nhé. 

from vietocr.

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.