edgify-0.0.1
توضیحات
Personalize DL models on the edge.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | edgify-0.0.1 |
| نام | edgify |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Abdelrahman Hosny |
| ایمیل نویسنده | abdelrahman_hosny@brown.edu |
| آدرس صفحه اصلی | https://github.com/scale-lab/edgify |
| آدرس اینترنتی | https://pypi.org/project/edgify/ |
| مجوز | BSD-3 License |
# Model Personalization on Edge
Improving the performance of DL models for individual users by re-training on a user's data on the edge.
## QMNIST Dataset
Divide the datset by the writer ID.
```Python
python preprocess/filter_by_user.py --download --dataset=train
python preprocess/filter_by_user.py --download --dataset=test
```
The resulting user-specific datasets will be under `data/QMNIST/train` and `data/QMNIST/test`.
The file naming convention is `w-<witer_id>.pth`.
To load the dataset of a specific writer:
```Python
import torch
from torch.utils.data import DataLoader
dataset = torch.load('data/QMNIST/train/w-<writer_id>.pth')
dataloader = DataLoader(dataset)
```
## License
BSD 3-Clause License.
نیازمندی
| مقدار | نام |
|---|---|
| ==1.6.0 | torch |
| ==0.7.0 | torchvision |
نحوه نصب
نصب پکیج whl edgify-0.0.1:
pip install edgify-0.0.1.whl
نصب پکیج tar.gz edgify-0.0.1:
pip install edgify-0.0.1.tar.gz