Skip to content

Commit

Permalink
Fix dataset id for MNIST (huggingface#2238)
Browse files Browse the repository at this point in the history
  • Loading branch information
tninesling authored Jun 4, 2024
1 parent cd4d941 commit 3f13ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion candle-datasets/src/vision/mnist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ fn load_parquet(parquet: SerializedFileReader<std::fs::File>) -> Result<(Tensor,

pub fn load() -> Result<crate::vision::Dataset> {
let api = Api::new().map_err(|e| Error::Msg(format!("Api error: {e}")))?;
let dataset_id = "mnist".to_string();
let dataset_id = "ylecun/mnist".to_string();
let repo = Repo::with_revision(
dataset_id,
RepoType::Dataset,
Expand Down

0 comments on commit 3f13ad3

Please sign in to comment.