Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MetaRL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Wang, Mia
MetaRL
Commits
5c18be7b
Commit
5c18be7b
authored
2 years ago
by
Sun Jin Kim
Browse files
Options
Downloads
Patches
Plain Diff
make /temp_util to temporarily store stuff while refactoring is happening
parent
61295621
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
temp_util/parse_ds_cn_arch.py
+0
-0
0 additions, 0 deletions
temp_util/parse_ds_cn_arch.py
temp_util/wapp_util.py
+0
-0
0 additions, 0 deletions
temp_util/wapp_util.py
test/MetaAugment/test_ucb_learner.py
+25
-0
25 additions, 0 deletions
test/MetaAugment/test_ucb_learner.py
with
25 additions
and
0 deletions
MetaAugment/autoaugment_learners
/parse_ds_cn_arch.py
→
temp_util
/parse_ds_cn_arch.py
+
0
−
0
View file @
5c18be7b
File moved
This diff is collapsed.
Click to expand it.
wapp_util.py
→
temp_util/
wapp_util.py
+
0
−
0
View file @
5c18be7b
File moved
This diff is collapsed.
Click to expand it.
test/MetaAugment/test_ucb_learner.py
0 → 100644
+
25
−
0
View file @
5c18be7b
import
MetaAugment.autoaugment_learners
as
aal
import
MetaAugment.child_networks
as
cn
import
torch
import
torchvision
import
torchvision.datasets
as
datasets
import
random
def
test_ucb_learner
():
policies
=
UCB1_JC
.
generate_policies
(
num_policies
,
num_sub_policies
)
q_values
,
best_q_values
=
UCB1_JC
.
run_UCB1
(
policies
,
batch_size
,
learning_rate
,
ds
,
toy_size
,
max_epochs
,
early_stop_num
,
iterations
,
IsLeNet
,
ds_name
)
best_q_values
=
np
.
array
(
best_q_values
)
pass
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment