Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TorchScript server #990

Open
lutzroeder opened this issue Oct 9, 2022 · 1 comment
Open

TorchScript server #990

lutzroeder opened this issue Oct 9, 2022 · 1 comment
Labels

Comments

@lutzroeder
Copy link
Owner

lutzroeder commented Oct 9, 2022

import torch
import torchvision
import torch.utils.tensorboard
model = torchvision.models.detection.fasterrcnn_resnet50_fpn()
script = torch.jit.script(model)
script.save('fasterrcnn_resnet50_fpn.pt')
with torch.utils.tensorboard.SummaryWriter('log') as writer:
    writer.add_graph(script, ())
@lutzroeder lutzroeder changed the title PyTorch server TorchScript server Oct 16, 2022
lutzroeder added a commit that referenced this issue Oct 27, 2022
@lutzroeder lutzroeder self-assigned this Nov 5, 2022
lutzroeder added a commit that referenced this issue Nov 22, 2022
lutzroeder added a commit that referenced this issue Nov 24, 2022
lutzroeder added a commit that referenced this issue Dec 10, 2022
lutzroeder added a commit that referenced this issue Dec 12, 2022
lutzroeder added a commit that referenced this issue Dec 12, 2022
lutzroeder added a commit that referenced this issue Dec 16, 2022
lutzroeder added a commit that referenced this issue Dec 20, 2022
@lutzroeder lutzroeder removed their assignment Feb 4, 2023
@lutzroeder lutzroeder closed this as not planned Won't fix, can't repro, duplicate, stale Feb 11, 2023
lutzroeder added a commit that referenced this issue Apr 13, 2023
lutzroeder added a commit that referenced this issue May 29, 2023
@HLearning
Copy link

netron not open fasterrcnn_resnet50_fpn.pt
Python Error AssertionError: targets should not be none when in training mode

@lutzroeder lutzroeder reopened this Jun 30, 2024
lutzroeder added a commit that referenced this issue Jun 30, 2024
lutzroeder added a commit that referenced this issue Oct 20, 2024
lutzroeder added a commit that referenced this issue Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants