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

fed_cifar10 sample does not download the dataset correctly #1590

Open
rekkles2 opened this issue Nov 13, 2023 · 0 comments
Open

fed_cifar10 sample does not download the dataset correctly #1590

rekkles2 opened this issue Nov 13, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@rekkles2
Copy link

rekkles2 commented Nov 13, 2023

I'm running this example.I use one Jetson device as the server side and the other as the client side.This is my config.yaml source file.

common_args:
  training_type: "cross_silo"
  scenario: "horizontal"
  using_mlops: false
  random_seed: 0
  config_version: release

environment_args:
  bootstrap: config/bootstrap.sh

data_args:
  dataset: "cifar10"
  data_cache_dir: "~/fedcv_data/"
  partition_method: "hetero"
  partition_alpha: 0.5

model_args:
  model: "mobilenet_v3"
  image_size:
  input_size: 3
  class_num: 10
  model_file_cache_folder: "./model_file_cache" # will be filled by the server automatically
  global_model_file_path: "./model_file_cache/global_model.pt"

train_args:
  federated_optimizer: "FedAvg"
  client_id_list:
  client_num_in_total: 2
  client_num_per_round: 2
  comm_round: 10
  epochs: 1
  batch_size: 4
  client_optimizer: sgd
  lr: 0.01
  weight_decay: 0.001

validation_args:
  frequency_of_the_test: 1

device_args:
  worker_num: 2
  using_gpu: true
#  gpu_mapping_file: config/gpu_mapping.yaml
#  gpu_mapping_key: mapping_default

comm_args:
  backend: "MQTT_S3"
  mqtt_config_path: config/mqtt_config.yaml
  s3_config_path: config/s3_config.yaml

tracking_args:
   # When running on MLOps platform(open.fedml.ai), the default log path is at ~/fedml-client/fedml/logs/ and ~/fedml-server/fedml/logs/
  enable_wandb: false
  wandb_key: ee0b5f53d949c84cee7decbe7a629e63fb2f8408
  wandb_project: fedml
  wandb_name: fedml_torch_image_classification
屏幕截图 2023-11-07 171812

But when I change the download=False and self.download = download in this file to download=True, the dataset is downloaded and run.

  • My environment is as follows
    微信图片_20231107173559

  • My device is agx jetson xavier.The docker container version used is nvidia-jetson-l4t-ml-r35.1.0-py3.

@fedml-dimitris fedml-dimitris added the bug Something isn't working label Nov 13, 2023
@fedml-dimitris fedml-dimitris self-assigned this Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants