Giter Site home page Giter Site logo

Your program doesn't work. about kaggle-dstl HOT 5 OPEN

lopuhin avatar lopuhin commented on June 29, 2024
Your program doesn't work.

from kaggle-dstl.

Comments (5)

lopuhin avatar lopuhin commented on June 29, 2024

@GuYunxian yes, it's more of a code dump than a supported project, although it used to work. Could you share the full traceback?

from kaggle-dstl.

GuYunxian avatar GuYunxian commented on June 29, 2024

Traceback (most recent call last):
File "./train.py", line 704, in
main()
File "./train.py", line 699, in main
model_path=args.model_path
File "./train.py", line 172, in train
no_mp=no_mp)
File "./train.py", line 308, in train_on_images
self._train_on_feeds(gen_batch, n_batches, no_mp=no_mp)
File "./train.py", line 342, in train_on_feeds
for i, (x, y, dist_y) in enumerate(map
(gen_batch, range(n_batches))):
File "/home/huster/fancy/Dstl/kaggle-dstl-master/utils.py", line 282, in imap_fixed_output_buffer
yield future.result()
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 405, in result
return self.__get_result()
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 357, in __get_result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "./train.py", line 306, in gen_batch
torch.from_numpy(np.array(dist_outputs)))
RuntimeError: the given numpy array has zero-sized dimensions. Zero-sized dimensions are not supported in PyTorch

I want to run down the results and try it. I wonder if you have an executable program.

from kaggle-dstl.

lopuhin avatar lopuhin commented on June 29, 2024

No, I don't have anything more executable. This likely result of missing input data, but I'm not 100% sure - sorry, I didn't put many checks in the code.

from kaggle-dstl.

GuYunxian avatar GuYunxian commented on June 29, 2024

This error is due to an empty set of parameters.
The parameter dist_output has no input, but you didn't specify how the parameters were set, I am using the default valuesใ€‚

from kaggle-dstl.

HalfLemon avatar HalfLemon commented on June 29, 2024

Hi, I have the same problem. Do you solve this problem?

from kaggle-dstl.

Related Issues (10)

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.