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
14aa36ee
Commit
14aa36ee
authored
2 years ago
by
Mia Wang
Browse files
Options
Downloads
Patches
Plain Diff
delete __init__.py
parent
b33678de
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
__init__.py
+0
-0
0 additions, 0 deletions
__init__.py
backend_react/react_app.py
+12
-3
12 additions, 3 deletions
backend_react/react_app.py
src/App.js
+2
-2
2 additions, 2 deletions
src/App.js
src/pages/Result.js
+1
-2
1 addition, 2 deletions
src/pages/Result.js
with
15 additions
and
7 deletions
__init__.py
deleted
100644 → 0
+
0
−
0
View file @
b33678de
This diff is collapsed.
Click to expand it.
backend_react/react_app.py
+
12
−
3
View file @
14aa36ee
from
dataclasses
import
dataclass
from
flask
import
Flask
,
request
,
current_app
from
flask
import
Flask
,
request
,
current_app
,
render_template
# from flask_cors import CORS
import
subprocess
import
os
...
...
@@ -19,11 +19,20 @@ from numpy import save, load
from
tqdm
import
trange
torch
.
manual_seed
(
0
)
import
os
import
sys
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'
..
'
))
# import agents and its functions
from
..
MetaAugment
import
UCB1_JC_py
as
UCB1_JC
from
..
MetaAugment
import
Evo_learner
as
Evo
from
MetaAugment
import
UCB1_JC_py
as
UCB1_JC
from
MetaAugment
import
Evo_learner
as
Evo
print
(
'
@@@ import successful
'
)
# import agents and its functions
# from ..MetaAugment import UCB1_JC_py as UCB1_JC
# from ..MetaAugment import Evo_learner as Evo
# print('@@@ import successful')
app
=
Flask
(
__name__
)
...
...
This diff is collapsed.
Click to expand it.
src/App.js
+
2
−
2
View file @
14aa36ee
...
...
@@ -30,10 +30,10 @@ function App() {
return
(
<
div
>
{
/*
<Home />
*/
}
<
Home
/>
{
/* <Confirm /> */
}
{
/* <Progress /> */
}
<
Result
/>
{
/*
<Result />
*/
}
<
/div
>
);
}
...
...
This diff is collapsed.
Click to expand it.
src/pages/Result.js
+
1
−
2
View file @
14aa36ee
...
...
@@ -34,12 +34,11 @@ export default function Result() {
color
=
'
primary
'
size
=
'
large
'
>
Do
n
wload
Dow
n
load
<
/Button
>
<
Typography
>
Please
follow
our
documentation
to
apply
this
policy
to
your
dataset
.
<
/Typography
>
<
/CardContent
>
<
/Card
>
...
...
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