Giter Club home page Giter Club logo

tunny's Introduction

License Release download

CodeFactor Codacy Badge Maintainability Code Climate technical debt

GitHub Repo stars GitHub forks Open in Visual Studio Code

๐ŸŸTunny๐ŸŸ is Grasshopper's optimization component using Optuna, an open source hyperparameter auto-optimization framework.

The following is taken from the official website

Optunaโ„ข, an open-source automatic hyperparameter optimization framework, automates the trial-and-error process of optimizing the hyperparameters. It automatically finds optimal hyperparameter values based on an optimization target. Optuna is framework agnostic and can be used with most Python frameworks, including Chainer, Scikit-learn, Pytorch, etc.

Optuna is used in PFN projects with good results. One example is the second place award in the Google AI Open Images 2018 โ€“ Object Detection Track competition.

Optuna official site

๐Ÿ  Install

First, Tunny runs on Windows only.

  1. Download Tunny from food4rhino or release page
  2. Right-click the file > Properties > make sure there is no "blocked" text
  3. In Grasshopper, choose File > Special Folders > Components folder. Move Tunny folder you downloaded there.
  4. Restart Rhino and Grasshopper
  5. In Grasshopper, Place the Tunny component and double-click the icon to start downloading the necessary libraries.
  6. Enjoy!

๐Ÿฃ Support

This software is being updated with your support. If you like this software, please donation.

ko-fi

๐Ÿก License

Tunny is licensed under the MIT license.
Copyrightยฉ 2022, hrntsm

Tunny use TT-DesignExplorer & Python runtime & some python packages. These depend on their own licenses. Please see PYTHON_PACKAGE_LICENSE for more license information.

๐Ÿฌ Usage

๐Ÿšค Quick usage

Video.mp4

๐Ÿณ More details

Please see Tunny documentation page.

๐Ÿ„ Contact information

Twitter LinkedIn

tunny's People

Contributors

dependabot[bot] avatar hrntsm avatar knuttjensvollrhdhv avatar reisyu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tunny's Issues

Optimization is stopped after a specific elapsed time.

Is your feature request related to a problem? Please describe.

Optimization is stopped after a specific elapsed time.

Describe the solution you'd like

Input elapsed time to stop the optimization

Describe alternatives you've considered

Additional context

Save settings before open settings folder

Is your feature request related to a problem? Please describe.

When open setting file, current ui settings is not reflect it.

Describe the solution you'd like

Add save settings button and change open folder button beheivier to save them when pushed.

Describe alternatives you've considered

Additional context

Consider constraint output

Describe the bug

The model output in the output tab is not a Pareto front considering constraint.

To Reproduce

Expected behavior

Screenshots

Environment

Additional context

Array optimize result like Wallacei

Is your feature request related to a problem? Please describe.

Array optimize result like Wallacei to easier to understand them

Describe the solution you'd like

Add Array result component like Wallacei.

Describe alternatives you've considered

Additional context

Support integer suggestion

Is your feature request related to a problem? Please describe.

To make optimization more effectively, to handle integer suggestion.

Describe the solution you'd like

use optuna trail.suggest_integer method

Describe alternatives you've considered

Additional context

Solver could be started programmatically?

Is your feature request related to a problem? Please describe.

Any chance this solver could be started programmatically? Right now Galapagos makes it so one needs to manually start the solver.

โ€” Luis E. Fraguada (@luisfraguada) April 12, 2022

That would be very useful. I'm not sure if any other EA solvers in GH can do that.

โ€” Luis E. Fraguada (@luisfraguada) April 13, 2022

Easy way to get the development version

Is your feature request related to a problem? Please describe.

Can we do CI builds so that we can easily work with the development version?

Describe the solution you'd like

Describe alternatives you've considered

Additional context

add a component to detect runoptimize and stop clicks

From Food4Rhino

Looks useful, i will test it with external software
Can you please add a component to detect runoptimize and stop clicks?
When runoptimize is clicked the component output become true to control external software animation,,and stop become false.
I did something like that with opossum and i hope you create it as official component

Add sampler setting window

Is your feature request related to a problem? Please describe.

I want to set up my sampler more easily.

Describe the solution you'd like

Create a sampler settings window

Describe alternatives you've considered

Additional context

Reflect MO result to GH

Is your feature request related to a problem? Please describe.

Single objective optimization is reflect it result to GH when solution is finished,
but multi objective optimization is not.
Is anyway to reflect MO result ?

Describe the solution you'd like

Add reflect button to realize above function.

Describe alternatives you've considered

Additional context

Objective's nickname input

Is your feature request related to a problem? Please describe.

In result graphs, it is helpful to understand the axis meanings by setting it nickname.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Enable grid sampler & botorch sampler

Is your feature request related to a problem? Please describe.

optuna has more other than the one used in tunny.
is there any possibility to enable these sampler like grid sampler

Describe the solution you'd like

Enable there sampler

Describe alternatives you've considered

Additional context

Support Genepool

Is your feature request related to a problem? Please describe.

I would like to be able to use it more easily when I have many parameters.

Describe the solution you'd like

I would like genepool to support this.

Describe alternatives you've considered

Additional context

Optimization doesnโ€™t stop

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • OS: [e.g. Windows]
  • Rhino Version [e.g. v7.14]

Additional context

Add any other context about the problem here.

Highlight variables & objective component

Is your feature request related to a problem? Please describe

some time I lost where variables and objectives component.

Describe the solution you'd like

Highlight these component like other optimization comopnent.

Describe alternatives you've considered

Additional context

Add Tunny Param component to internalize its result

Is your feature request related to a problem? Please describe.

I want to handle tunny optimize result more easily.

Describe the solution you'd like

Add Tunny Param component like Number, Brep, etc.

Describe alternatives you've considered

Additional context

Update optuna to v3

Is your feature request related to a problem? Please describe.

Update optuna to v3

Describe the solution you'd like

Change the following items

  • trial.suggest_discrete_uniform(โ€œxโ€, low, high, q=q) to trial.suggest_float(โ€œxโ€, low, high, step=q)

  • Multivariate in TPE sampler default false to true

  • Support new NSGA-II crossover options

  • Support QMC sampler

  • Support Shapley Importance

  • Consider defalut sampling algorithm

Describe alternatives you've considered

Additional context

official relese note

Reload setting.json

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.
ex. I'm always frustrated when [...]

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Support clustering plot

Is your feature request related to a problem? Please describe.

In Wallacei, it can cluster optimize result.
Is there any way to support clustring in Tunny?

Describe the solution you'd like

Describe alternatives you've considered

Additional context

More detail optimization setting

Is your feature request related to a problem? Please describe.

optuna can handle more feature than now, how can I use these.

Describe the solution you'd like

use setting file like "setting.json" to handle more detail settings.

Describe alternatives you've considered

Additional context

Add BoTorch sampler

Is your feature request related to a problem? Please describe.

To make Tunny more helpful for optimization, support GP sampler.

Describe the solution you'd like

Support BoTorch sampler which use GP

Describe alternatives you've considered

Additional context

Tunny UI broken

Describe the bug

image

To Reproduce

Expected behavior

Probabley it cause Hi-DPI.

Screenshots

Environment

Additional context

Show Third party lib license

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.
ex. I'm always frustrated when [...]

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Update optuna v3.0.0rc

Is your feature request related to a problem? Please describe.

Update optuna to v3.0.0rc

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Bake Text in fishmarket

Is your feature request related to a problem? Please describe.

Can I bake result text like elefront textbake in fishmarket component

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Add attribute component

Is your feature request related to a problem? Please describe.

I want to be able to put more detailed information on trials.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Support GeometryBase

Is your feature request related to a problem? Please describe.

It is able to input Mesh to Tunny, but is not able to input any other geometry.
There is any way to save these geometies?

Describe the solution you'd like

Support GeomertyBase like mesh.

Describe alternatives you've considered

Additional context

Maybe SQLAlchemy error when commit

Describe the bug

Rize below exception.
"An exception is arised during the commit. This typically happens due to invalid data in the commit. e.g. exceeding max length"

To Reproduce

Expected behavior

Screenshots

Screen Shot 2022-08-24 at 14 22 23

Environment

Additional context

Grid sampling won't run

Describe the bug

Grid sampler does not run sampler due to conversion error in dictionary specifying range of values

To Reproduce

Expected behavior

Screenshots

Environment

Additional context

Set any string attribute to each trial

Is your feature request related to a problem? Please describe.

some time, I want to set several attribute to clearly the trial model state.

Describe the solution you'd like

Add Tunny component to attribute input pivot.

Describe alternatives you've considered

Additional context

Show realtime result in tunny ui window

Is your feature request related to a problem? Please describe.

Would like to see best value and hypervolume in real time like Opossum

Describe the solution you'd like

Display the results in the yellow area of the image
image
image

Describe alternatives you've considered

Additional context

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.