Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Pavan2k4
/
Building_area
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
0dfbfad
Building_area
/
model
/
transform.py
Pavan2k4
app
35d85a5
almost 2 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
172 Bytes
import
torch
import
torchvision.transforms
as
T
transforms = T.Compose([
T.ToTensor(),T.Resize((
256
,
256
), antialias=
False
), T.Lambda(
lambda
x: x.to(torch.float32))])