Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simple example scripts and update README for scripts #19

Merged
merged 4 commits into from
Sep 20, 2022

Conversation

flukeskywalker
Copy link
Contributor

Closes #14

@codecov-commenter
Copy link

codecov-commenter commented Sep 8, 2022

Codecov Report

Merging #19 (17af50b) into master (6efb628) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #19   +/-   ##
=======================================
  Coverage   50.53%   50.53%           
=======================================
  Files          33       33           
  Lines        4704     4704           
=======================================
  Hits         2377     2377           
  Misses       2327     2327           
Impacted Files Coverage Δ
src/evotorch/operators/__init__.py 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Collaborator

@NaturalGradient NaturalGradient left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, everything seems to work. I made a single change: examples/scripts/bbo_vectorized.py now uses torch.cuda.is_available() to automatically switch to using the CPU, rather than throwing an error. This should be less confusing for a new user, but otherwise changes nothing.

@Higgcz Higgcz merged commit df41107 into master Sep 20, 2022
@Higgcz Higgcz deleted the docs/new-examples branch October 11, 2022 18:46
@Higgcz Higgcz added this to the 0.3.0 milestone Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simple example scripts
4 participants