mirror of https://github.com/tracel-ai/burn.git
modified mnist image link in the Hugging face (#2134)
This commit is contained in:
parent
d770b1f470
commit
64b57792e0
|
@ -21,7 +21,7 @@ Success!
|
|||
Predicted: 5
|
||||
Actual: 5
|
||||
See the image online, click the link below:
|
||||
https://datasets-server.huggingface.co/assets/mnist/--/mnist/test/15/image/image.jpg
|
||||
https://huggingface.co/datasets/ylecun/mnist/viewer/mnist/test?row=15
|
||||
```
|
||||
|
||||
## Feature Flags
|
||||
|
|
|
@ -57,10 +57,6 @@ fn main() {
|
|||
println!("Success!");
|
||||
println!("Predicted: {}", arg_max);
|
||||
println!("Actual: {}", item.label);
|
||||
|
||||
// Print the image URL if the image index is less than 100 (the online dataset only has 100 images)
|
||||
if image_index < 100 {
|
||||
println!("See the image online, click the link below:");
|
||||
println!("https://datasets-server.huggingface.co/assets/mnist/--/mnist/test/{image_index}/image/image.jpg");
|
||||
}
|
||||
println!("See the image online, click the link below:");
|
||||
println!("https://huggingface.co/datasets/ylecun/mnist/viewer/mnist/test?row={image_index}");
|
||||
}
|
||||
|
|
|
@ -25,5 +25,5 @@ Success!
|
|||
Predicted: 5
|
||||
Actual: 5
|
||||
See the image online, click the link below:
|
||||
https://datasets-server.huggingface.co/assets/mnist/--/mnist/test/15/image/image.jpg
|
||||
https://huggingface.co/datasets/ylecun/mnist/viewer/mnist/test?row=15
|
||||
```
|
||||
|
|
|
@ -66,10 +66,6 @@ fn main() {
|
|||
println!("Success!");
|
||||
println!("Predicted: {}", arg_max);
|
||||
println!("Actual: {}", item.label);
|
||||
|
||||
// Print the image URL if the image index is less than 100 (the online dataset only has 100 images)
|
||||
if image_index < 100 {
|
||||
println!("See the image online, click the link below:");
|
||||
println!("https://datasets-server.huggingface.co/assets/mnist/--/mnist/test/{image_index}/image/image.jpg");
|
||||
}
|
||||
println!("See the image online, click the link below:");
|
||||
println!("https://huggingface.co/datasets/ylecun/mnist/viewer/mnist/test?row={image_index}");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue