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

Feature/single folder build #19

Merged
merged 41 commits into from Jul 10, 2021
Merged

Conversation

beesaycheese
Copy link
Contributor

@beesaycheese beesaycheese commented Jul 6, 2021

Mac:

git clone https://github.com/datature/portal
chmod u+x ./setup-virtualenv.sh && ./setup-virtualenv.sh
. portal-build/.venv/bin/activate
python3 portal-build/portal.py (additional flags include --electron and --gpu)

Win:

git clone https://github.com/datature/portal
setup-virtualenv.sh
portal-build\.venv\Scripts\activate
python portal-build\portal.py  (additional flags include --electron and --gpu)

Additional Stuff changed:

  1. Toaster logic (On browser mode, the blue toaster will stay forever until it detects the backend)
  2. Set a global isConnected state
  3. Disable inference buttons when there is no loaded model. On hover, a tooltip info will appear
  4. OnComponentDidMount, the model component will call the get model list api until it gets a postive ans. During the wait, the model button is in skeleton mode
  5. GPU feature to request for a restart

useDarkTheme: false,
useDarkTheme: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the default now dark theme?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeap

src/app/src/components/annotations/menu.jsx Outdated Show resolved Hide resolved
@virtuoso98
Copy link
Contributor

approving this PR

beesaycheese and others added 2 commits July 8, 2021 11:23
added routes to set/clear/get gpu flag
based on gpu flag, alter the cuda_visible environment variable.
@beesaycheese beesaycheese merged commit f05749a into develop Jul 10, 2021
@beesaycheese beesaycheese deleted the feature/single-folder-build branch July 10, 2021 09:06
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.

None yet

3 participants