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

Currently is is not possible to create a Frame directly in resnet norm #67

Open
thibo73800 opened this issue Sep 16, 2021 · 0 comments · Fixed by #270
Open

Currently is is not possible to create a Frame directly in resnet norm #67

thibo73800 opened this issue Sep 16, 2021 · 0 comments · Fixed by #270
Assignees
Labels
aloscene aloscene enhancement New feature or request good first issue Good for newcomers

Comments

@thibo73800
Copy link
Contributor

thibo73800 commented Sep 16, 2021

Currently the workaround is to do the following:

alo_frame = aloscene.Frame(frame_data["img"], names=("T", "C", "H", "W"), normalization="resnet")
alo_frame.mean_std = alo_frame._resnet_mean_std
alo_frame.get_view().render(location=f"{frame_id}.jpg")
@thibo73800 thibo73800 added enhancement New feature or request aloscene aloscene labels Sep 16, 2021
@thibo73800 thibo73800 added the good first issue Good for newcomers label Jul 28, 2022
@tflahaul tflahaul self-assigned this Nov 17, 2022
@tflahaul tflahaul linked a pull request Nov 17, 2022 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aloscene aloscene enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants