t0m-R commited on
Commit
d07aa47
·
verified ·
1 Parent(s): 91a5362

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -41,13 +41,13 @@ from transformers import AutoModelForImageClassification
41
  import torch
42
 
43
  # Load the model from the Hub
44
- model_name = "YourUsername/vit-stm-artifact-fft" # Replace with your repo name
45
  model = AutoModelForImageClassification.from_pretrained(model_name)
46
 
47
  # NOTE: This model requires a custom FFT-based preprocessing function.
48
  # The 'preprocessed_image' tensor must have a shape of (1, 3, 224, 224).
49
  # See the "Preprocessing" section for details.
50
- # preprocessed_image = your_custom_fft_preprocessing_function("path/to/your/stm_image.tiff")
51
 
52
  # Run inference
53
  with torch.no_grad():
 
41
  import torch
42
 
43
  # Load the model from the Hub
44
+ model_name = "t0m-R/vit-stm-artifact-fft"
45
  model = AutoModelForImageClassification.from_pretrained(model_name)
46
 
47
  # NOTE: This model requires a custom FFT-based preprocessing function.
48
  # The 'preprocessed_image' tensor must have a shape of (1, 3, 224, 224).
49
  # See the "Preprocessing" section for details.
50
+ # preprocessed_image = your_custom_fft_preprocessing_function("path/to/your/stm_image")
51
 
52
  # Run inference
53
  with torch.no_grad():