Giter Club home page Giter Club logo

python_version_grid_gcn's People

Contributors

honeyhaoyan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

python_version_grid_gcn's Issues

Error occurred when running on cuda device

when running on cuda 10.0 device this error occured, thank you for your help!

Traceback (most recent call last):
  File "train_cls.py", line 154, in <module>
    train(net, opt, scheduler, train_loader, dev)
  File "train_cls.py", line 76, in train
    logits = net(data)
  File "/home/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/baoyh/Grid-GCN/grid_gcn_final.py", line 572, in forward
    pos, feat = self.sa_module1(pos, feat, index_voxels, context_points, mask)
  File "/home/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/baoyh/Grid-GCN/grid_gcn_final.py", line 526, in forward
    g.update_all(self.message, self.conv)
  File "/home/anaconda3/lib/python3.6/site-packages/dgl/heterograph.py", line 4499, in update_all
    ndata = core.message_passing(g, message_func, reduce_func, apply_node_func)
  File "/home/anaconda3/lib/python3.6/site-packages/dgl/core.py", line 298, in message_passing
    ndata = invoke_udf_reduce(g, rfunc, msgdata, orig_nid=orig_nid)
  File "/home/anaconda3/lib/python3.6/site-packages/dgl/core.py", line 153, in invoke_udf_reduce
    retf.update_row(merged_nodes, merged_rst)
  File "/home/anaconda3/lib/python3.6/site-packages/dgl/frame.py", line 497, in update_row
    self._columns[key].update(rowids, val)
  File "/home/anaconda3/lib/python3.6/site-packages/dgl/frame.py", line 201, in update
    self.data = F.scatter_row(self.data, rowids, feats)
  File "/home/anaconda3/lib/python3.6/site-packages/dgl/backend/pytorch/tensor.py", line 190, in scatter_row
    return data.index_copy(0, row_index.long(), value)
IndexError: index_copy_(): Number of indices (16384) should be equal to source.size(dim) (32768)

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.