Skip to content

Commit

Permalink
Update setup.sh, g++ requirements, and eigen_archive to solve depende…
Browse files Browse the repository at this point in the history
…ncy issues.

PiperOrigin-RevId: 303866545
  • Loading branch information
crazydonkey200 authored and Copybara-Service committed Mar 31, 2020
1 parent 7f751a6 commit bd51d8d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
4 changes: 2 additions & 2 deletions automl_zero/README.md
Expand Up @@ -24,7 +24,7 @@ More examples, analysis, and details can be found in the [paper](https://arxiv.o

As a miniature "AutoML-Zero" experiment, let's try to automatically discover programs to solve linear regression tasks.

To get started, first install `bazel` following instructions [here](https://docs.bazel.build/versions/master/install.html) (bazel>=2.2.0 and C++>=14 are required), then run the demo with:
To get started, first install `bazel` following instructions [here](https://docs.bazel.build/versions/master/install.html) (bazel>=2.2.0 and g++>=9 are required), then run the demo with:

```
git clone https://github.com/google-research/google-research.git
Expand Down Expand Up @@ -58,7 +58,7 @@ In this human designed program, the ```Setup``` function establishes a learning

## Reproducing Search Baselines

First install `bazel` following instructions [here](https://docs.bazel.build/versions/master/install.html) (bazel>=2.2.0 and C++>=14 are required),then run the following command to reproduce the results in Supplementary
First install `bazel` following instructions [here](https://docs.bazel.build/versions/master/install.html) (bazel>=2.2.0 and g++>=9 are required),then run the following command to reproduce the results in Supplementary
Section 9 ("Baselines") with the "Basic" method on 1 process (1 CPU):

*[To be continued, ETA: March, 2020]*
Expand Down
7 changes: 4 additions & 3 deletions automl_zero/WORKSPACE
Expand Up @@ -68,10 +68,11 @@ http_archive(
http_archive(
name = "eigen_archive",
build_file = "//:eigen.BUILD",
sha256 = "88e95180a7eae9acd3e79d2efeea1026eefad9f515a44418b63b189a1887108c", # SHARED_EIGEN_SHA
strip_prefix = "eigen-52a2fbbb008a47c5e3fb8ac1c65c2feecb0c511c",
sha256 = "9a01fed6311df359f3f9af119fcf298a3353aef7d1b1bc86f6c8ae0ca6a2f842",
strip_prefix = "/eigen-eigen-5d5dd50b2eb6",
urls = [
"https://gitlab.com/libeigen/eigen/-/archive/52a2fbbb008a47c5e3fb8ac1c65c2feecb0c511c/eigen-52a2fbbb008a47c5e3fb8ac1c65c2feecb0c511c.tar.gz",
"https://mirror.bazel.build/bitbucket.org/eigen/eigen/get/5d5dd50b2eb6.zip",
"https://bitbucket.org/eigen/eigen/get/5d5dd50b2eb6.zip",
],
)

Expand Down
6 changes: 0 additions & 6 deletions automl_zero/requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion automl_zero/setup.sh
Expand Up @@ -14,7 +14,7 @@

#!/bin/bash

pip install -r requirements.txt
pip install tensorflow_datasets tensorflow sklearn numpy
# If the task_pb2.py doesn't work, you will need to install protobuf compiler
# (https://github.com/protocolbuffers/protobuf/blob/master/README.md#protocol-compiler-installation)
# and run the line below to compite the protobuf for your environment.
Expand Down

0 comments on commit bd51d8d

Please sign in to comment.