Giter Site home page Giter Site logo

bysjchange_polygon_rnn's People

Contributors

llz-lian avatar

Stargazers

 avatar  avatar

Watchers

 avatar

bysjchange_polygon_rnn's Issues

about training code

The code in train.py cannot train the PolygonNet in mymodel.py. I found that this is a multi-task learning. Can you update your code? Thank you!!!

question

hello, can I ask you a question?
I always meet the problem:
it trouble me a lot

Loading completed!
Traceback (most recent call last):
File "d:/bysjchange_polygon_RNN-main/train.py", line 110, in
train(config, config['pretrained'])
File "d:/bysjchange_polygon_RNN-main/train.py", line 52, in train
for step, data in enumerate(Dataloader):#4->
File "D:\Segment\envs\pytorch\lib\site-packages\torch\utils\data\dataloader.py", line 363, in next
data = self._next_data()
File "D:\Segment\envs\pytorch\lib\site-packages\torch\utils\data\dataloader.py", line 403, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "D:\Segment\envs\pytorch\lib\site-packages\torch\utils\data_utils\fetch.py", line 47, in fetch
return self.collate_fn(data)
File "D:\Segment\envs\pytorch\lib\site-packages\torch\utils\data_utils\collate.py", line 86, in default_collate
raise TypeError(default_collate_err_msg_format.format(elem_type))
TypeError: default_collate: batch must contain tensors, numpy arrays, numbers, dicts or lists; found <class 'NoneType'>

How can I solve the None Type Error?
Thank you and best wishes

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.