-
Notifications
You must be signed in to change notification settings - Fork 202
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
Interactive API Experiment - Pytorch Re-ID on Market #156
Interactive API Experiment - Pytorch Re-ID on Market #156
Conversation
Can one of the admins verify this patch? |
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
ok to test |
...l-tutorials/interactive_api/Pytorch_Market_Re-ID/envoy_folder/two/market_shard_descriptor.py
Outdated
Show resolved
Hide resolved
openfl-tutorials/interactive_api/Pytorch_Market_Re-ID/director_folder/director_config.yaml
Outdated
Show resolved
Hide resolved
...l-tutorials/interactive_api/Pytorch_Market_Re-ID/envoy_folder/one/market_shard_descriptor.py
Outdated
Show resolved
Hide resolved
openfl-tutorials/interactive_api/Pytorch_Market_Re-ID/envoy_folder/one/start_envoy.sh
Outdated
Show resolved
Hide resolved
...l-tutorials/interactive_api/Pytorch_Market_Re-ID/envoy_folder/two/market_shard_descriptor.py
Outdated
Show resolved
Hide resolved
openfl-tutorials/interactive_api/Pytorch_Market_Re-ID/envoy_folder/two/start_envoy.sh
Outdated
Show resolved
Hide resolved
openfl-tutorials/interactive_api/Pytorch_Market_Re-ID/workspace/transforms.py
Outdated
Show resolved
Hide resolved
openfl-tutorials/interactive_api/Pytorch_Market_Re-ID/workspace/transforms.py
Outdated
Show resolved
Hide resolved
openfl-tutorials/interactive_api/Pytorch_Market_Re-ID/workspace/transforms.py
Outdated
Show resolved
Hide resolved
...l-tutorials/interactive_api/Pytorch_Market_Re-ID/envoy_folder/one/market_shard_descriptor.py
Outdated
Show resolved
Hide resolved
openfl-tutorials/interactive_api/Pytorch_Market_Re-ID/envoy_folder/market_shard_descriptor.py
Outdated
Show resolved
Hide resolved
openfl-tutorials/interactive_api/Pytorch_Market_Re-ID/envoy_folder/market_shard_descriptor.py
Outdated
Show resolved
Hide resolved
openfl-tutorials/interactive_api/Pytorch_Market_Re-ID/envoy_folder/market_shard_descriptor.py
Outdated
Show resolved
Hide resolved
" else:\n", | ||
" batch_size = 512\n", | ||
" \n", | ||
" self.shard_descriptor.set_mode('query')\n", |
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.
We probably should pass shard_descriptor
to DataLoader by deep copying it.
When the Pytorch DataLoader will try to access shard_descriptor the mode may be already changed
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.
added shard descriptor's copies to gallery and query loaders
Could you also clear all cell outputs |
* Use epochs instead batch_num. Log epoch count * Fix flake8 * Resolve conversations * Fix linter Co-authored-by: Ilya Trushkin <ilya.trushkin@intel.com>
Co-authored-by: igor-davidyuk <76463150+igor-davidyuk@users.noreply.github.com>
@katerina-merkulova thanks for fixes, LGTM! |
Tutorial experiment to Interactive API - Pytorch Re-ID (Resnet50 and Arcface loss) on Market1501 dataset.