Skip to content

Conversation

cgraywang
Copy link
Contributor

Description of changes:

  • add image classification notebook
  • update frontend api doc

demo = True

stop_criterion = {
'time_limits': time_limits,
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's not put the time_limits here since we don't yet support it in the backend.
Same goes for max_metric.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, WIP we would have the implementation soon.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes. But until we have it, can we remove this ?


# type of net_list is ag.space.List

# method 1 (complex but flexiable): specify the net_list using get_model
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you remove the commented out part for method 1 ?


# method 1 (complex but flexiable): specify the optim_list using get_optim
# optimizers = ag.Optimizers([ag.optim.get_optim('sgd'),
# ag.optim.get_optim('adam')])
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here.

Example 2: Amazon Internal Image
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

We can also access `Amazon Image assist <https://image-assist.amazon.com>`__
Copy link
Contributor

Choose a reason for hiding this comment

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

This can easily slip the cracks and become public documentation once we open source this. I'd recommend not to put an internal Amazon link in here.

get_model('cifar_resnet20_v1'),
get_model('cifar_resnet56_v1'),
get_model('cifar_resnet110_v1')]),
get_model('resnet18_v1'),
Copy link
Contributor

Choose a reason for hiding this comment

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

So for now are we going with just 2 default models ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can support any models. The point is to now using cifar pre-trained models for cifar dataset.

Copy link
Contributor

Choose a reason for hiding this comment

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

Will the end user dataset be CIFAR only ? Changing defaults affects the end user use case as well.


.. note::

The whl would be updated soon.
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor nit : wheel instead of whl

max_num_gpus = 1
max_num_cpus = 4
max_training_epochs = 2
demo = True
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this argument doing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They are used in stop_criterion and resources_per_trial.

Copy link
Contributor

Choose a reason for hiding this comment

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

I meant the demo argument, how is that used in stop_criterion?

max_metric = 0.80

stop_criterion = {
'time_limits': time_limits,
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we remove time_limits and max_metric since they are not implemented?

@@ -8,6 +8,17 @@ Installation
git clone https://github.com/awslabs/auto-ml-with-gluon.git && cd auto-ml-with-gluon
python setup.py install

.. note::

Before installing from source, please have the MXNet and python installed.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a particular minimum MXNet version they need to install ?
If yes, let's list it out here.

@@ -0,0 +1,275 @@
"""1. Create Searcher and Scheduler
Copy link
Contributor

Choose a reason for hiding this comment

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

just a minor comment. You may use git mv src target to move the file and keep the git history.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, feel free to delete this one.

@zhanghang1989
Copy link
Contributor

close inactive PR

Innixma added a commit that referenced this pull request Nov 7, 2022
* introduce compile_model to tabular predictor

(cherry picked from commit eeb875b)

* separate compile method from fit and save, and addressed some review comments

* fix compile function

* build onnx model without zipmap

* improve robustness

* address review comments and put compile_time into part of model_info

* replace _input_types_post_process with _features

* fix compile_time in leaderboard

* bug fix in model_info

* add comments

* compile base model via getting its ancestors from compile_models interface

* move model-specific logic outside of abstract_model

* move model-specific logic outside of abstract_model

* Refactored compiler API and logic (#1)

Co-authored-by: Nick Erickson <neerick@amazon.com>
@Aj-esh Aj-esh mentioned this pull request Feb 26, 2025
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.

4 participants