tensorflow / tensorflow/privacy

pate_2017 train_student failed to run

Open
#105 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2k
Forks
477
Avg merge
22h 12m
Merged PRs (30d)
1

Description

I have finished training the teachers .
python train_teachers.py --nb_teachers=100 --teacher_id=10 --dataset=mnist
teacher_id values range from 0 to 99.
When I wanted to train the student,it failed.Just use this command, there is no other command
报错

python train_student.py --nb_teachers=100 --dataset=mnist --stdnt_share=1000
Error information:The passed save_path in not a valid checkpoint:/tmp/train_dir//mnist_100_student.ckpt-2999。
What should I do now?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported command in train_student.py with the MNIST dataset and inspect how /tmp/train_dir//mnist_100_student.ckpt-2999 is generated or validated. Done means student training accepts a valid checkpoint path and completes without the reported save_path error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.