Giter Site home page Giter Site logo

dsrpytorch's People

Contributors

dandip avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

dsrpytorch's Issues

Several bugs for the use of CUDA device

There are several places where the pytorch Tensor is initialize without point out the device. Thus, when I want to run it on CUDA, these cpu Tensors will be incompatible to the CUDA ones. Additionally, in the code the Tensors are usually treated as numpy arrays and use the numpy functions to handle the Tensors. This is nothing wrong when the Tensors are on cpu, but will raise error when the tensors are on CUDA.

Looking for help on how to add constraints

Dear Daniel,
Thank you very much for your contributions to the PyTorch version of DSR. In practice, I found that the constraints on trigonometric nesting (e.g. $sin(x+cos(x))$ is not allowed) and log&exp (e.g. $log(exp(x))$ is not allowed) mentioned in the paper can drastically reduce the search space, which improves the search efficiency. I have tried to add both constraints to this code because of my current scientific work, but have been unsuccessful due to my limited coding skills. So I would like to ask for your help, and I would appreciate it if you could help me to add these two constraints!
Thank you again for your contributions!
Best regards.

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.