Giter Site home page Giter Site logo

Comments (5)

eduardocarvp avatar eduardocarvp commented on July 24, 2024 1

Hi @amartin211 ,

These bugs can be a bit tricky to track since they are masked behind CUDA error. I had it happen to me before and very often the cause is a NaN value somewhere on the dataset that cannot be interpreted by pytorch.

Could you check if this might be the case?

from tabnet.

amartin211 avatar amartin211 commented on July 24, 2024 1

Indeed that was the issue. I'm working with a tricky dataset and had few 'inf' values in it. I've removed them and it seems to be working properly now. thanks for the quick reply.

from tabnet.

omkarmutreja12 avatar omkarmutreja12 commented on July 24, 2024 1

Hi @ddofer , @amartin211, @eduardocarvp - I've also checked and my dataframe doesn't have missing or infinite values, however, still getting the same error on trying to predict on other dataset. @ddofer, @eduardocarvp , @amartin211 - Could you please let me know how did you resolve this?

from tabnet.

ddofer avatar ddofer commented on July 24, 2024

I'm getting the same error, data doesn't contain any nans or infs. (And I'm using .values to extract data from a dataframe)

from tabnet.

ddofer avatar ddofer commented on July 24, 2024

C:/w/1/s/tmp_conda_3.7_100118/conda/conda-bld/pytorch_1579082551706/work/aten/src/THC/THCTensorIndex.cu:361: block: [2,0,0], thread: [87,0,0] Assertion srcIndex < srcSelectDimSize failed.
C:/w/1/s/tmp_conda_3.7_100118/conda/conda-bld/pytorch_1579082551706/work/aten/src/THC/THCTensorIndex.cu:361: block: [2,0,0], thread: [88,0,0] Assertion srcIndex < srcSelectDimSize failed.
C:/w/1/s/tmp_conda_3.7_100118/conda/conda-bld/pytorch_1579082551706/work/aten/src/THC/THCTensorIndex.cu:361: block: [2,0,0], thread: [89,0,0] Assertion srcIndex < srcSelectDimSize failed.
C:/w/1/s/tmp_conda_3.7_100118/conda/conda-bld/pytorch_1579082551706/work/aten/src/THC/THCTensorIndex.cu:361: block: [2,0,0], thread: [92,0,0] Assertion srcIndex < srcSelectDimSize failed.
C:/w/1/s/tmp_conda_3.7_100118/conda/conda-bld/pytorch_1579082551706/work/aten/src/THC/THCTensorIndex.cu:361: block: [2,0,0], thread: [94,0,0] Assertion srcIndex < srcSelectDimSize failed.
C:/w/1/s/tmp_conda_3.7_100118/conda/conda-bld/pytorch_1579082551706/work/aten/src/THC/THCTensorIndex.cu:361: block: [2,0,0], thread: [95,0,0] Assertion srcIndex < srcSelectDimSize failed.

from tabnet.

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.