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

C# CNTK Transfer Learning input reshape #3850

Open
KBS91 opened this issue Apr 27, 2021 · 0 comments
Open

C# CNTK Transfer Learning input reshape #3850

KBS91 opened this issue Apr 27, 2021 · 0 comments

Comments

@KBS91
Copy link

KBS91 commented Apr 27, 2021

Dear Sirs,

I build program to apply Transfer Learning in C#. Problem I face is to reshape input layer for Resnet CNNs.
Default input is [224x224x3] whereas I want to apply [32x32x3] input, but it could be any size.

I wonder how I can reshape input layer dimension?

Also I wonder if there is different way later to replace that input?
I do it now like:
Function clonedModel = baseModel.Clone(ParameterCloningMethod.Freeze,
new Dictionary<Variable, Variable>() { { oldFeatureNode, normalizedNewNode }
});

Regards,
Chris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant