-
Notifications
You must be signed in to change notification settings - Fork 11
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
📖 Quick Start Pytorch Components & Workflows #177
Conversation
@MFA-X-AI Do you mean |
@MFA-X-AI Both examples
Then,
Looks fine, IMO! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both items in Test
runs successfully on my local - Python 3.10.5 in this case. Please do refer to my comment for more details.
Description
With the upcoming 1,5 release, we're looking forward to improve the new user onboarding. This PR introduces a new set of pytorch components based on the official pytorch tutorials. Most of the components are designed to emulate commonly used modules such as torch utils
Dataset
andDataLoader
, while the rest such asTorchModel
are easily modifiable.List of new components:
I have also created 2 workflows:
All components are complete with their descriptions.
Due to it's specific use case, the previous pytorch components and workflows are migrated to it's own Xircuits project template - https://github.com/XpressAI/template-semantic_segmentation
References
#68
Pull Request Type
Type of Change
Tests
Setup
python -m venv venv && source venv/Scripts/activate
pip install xircuits*.whl
xircuits-components --branch fahreza/new-torch
pip install -r xai_components/xai_pytorch/requirements.txt
xircuits
Workflow Tests
TorchTrainModel.xircuits
. Did it successfully run?TrainPredictFromModel.xircuits
. Did it successfully run?Grammar Check
Check that the new components have reasonable text descriptions.
Tested on?
Notes
The prediction isn't great since the model accuracy is only 60%. Feel free to add your own if it gives the correct output.