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
|
Predicted: 5
|
||||||
Actual: 5
|
Actual: 5
|
||||||
See the image online, click the link below:
|
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
|
## Feature Flags
|
||||||
|
|
|
@ -57,10 +57,6 @@ fn main() {
|
||||||
println!("Success!");
|
println!("Success!");
|
||||||
println!("Predicted: {}", arg_max);
|
println!("Predicted: {}", arg_max);
|
||||||
println!("Actual: {}", item.label);
|
println!("Actual: {}", item.label);
|
||||||
|
println!("See the image online, click the link below:");
|
||||||
// Print the image URL if the image index is less than 100 (the online dataset only has 100 images)
|
println!("https://huggingface.co/datasets/ylecun/mnist/viewer/mnist/test?row={image_index}");
|
||||||
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");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,5 +25,5 @@ Success!
|
||||||
Predicted: 5
|
Predicted: 5
|
||||||
Actual: 5
|
Actual: 5
|
||||||
See the image online, click the link below:
|
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!("Success!");
|
||||||
println!("Predicted: {}", arg_max);
|
println!("Predicted: {}", arg_max);
|
||||||
println!("Actual: {}", item.label);
|
println!("Actual: {}", item.label);
|
||||||
|
println!("See the image online, click the link below:");
|
||||||
// Print the image URL if the image index is less than 100 (the online dataset only has 100 images)
|
println!("https://huggingface.co/datasets/ylecun/mnist/viewer/mnist/test?row={image_index}");
|
||||||
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");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue