GithubHelp home page GithubHelp logo

lucidrains / hourglass-transformer-pytorch Goto Github PK

View Code? Open in Web Editor NEW
70.0 6.0 5.0 35 MB

Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI

License: MIT License

Python 100.00%
artificial-intelligence deep-learning transformers

hourglass-transformer-pytorch's Issues

Issue with an example

@lucidrains Just Awesome to see this super fast launch !

The third example under "For Images...." throws the following error .,

image

Then , when I gave the inputs with num_tokens = 20000,
max_seq_len = 1024, I got the following runtime error

image

not working with custom image dataset

RuntimeError: Given normalized_shape=[512], expected input with shape [*, 512], but got input of size...

it keeps saying that it expected input with shape [*, 512] but i got a 4dim or 3dim input
tried flattening but still some dimension issues

i'm trying to see the benchmarks for image classification, would be grateful for any help

No option for rotary positional embeddings

For the ImageNet64 generation experiments, the original authors used rotary positional embeddings. I think it would be worth adding this feature to the repository.

I can prepare a pull request that solves this~

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.