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

deployTFModel and writeManifest support TensorFlow #1070

Merged
merged 3 commits into from
May 15, 2024
Merged

deployTFModel and writeManifest support TensorFlow #1070

merged 3 commits into from
May 15, 2024

Conversation

aronatkins
Copy link
Contributor

@aronatkins aronatkins commented May 13, 2024

Copy link
Contributor

@toph-allen toph-allen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Comment on lines +110 to +112
rootFiles <- appFiles[dirname(appFiles) == "."]
absoluteRootFiles <- file.path(appDir, rootFiles)
absoluteAppFiles <- file.path(appDir, appFiles)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird that TensorFlow files can be anywhere in the hierarchy! I guess for those, you may be using R in any working dir and are just pointing to a TF file? Maybe not weird, just different.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not "anywhere", but it's not at the root. For example, this is a "model" directory with an accompanying manifest.json at the root.

model
model/1
model/1/variables
model/1/variables/variables.data-00000-of-00001
model/1/variables/variables.index
model/1/saved_model.pb
model/manifest.json

@aronatkins aronatkins merged commit f3b1993 into main May 15, 2024
10 checks passed
@aronatkins aronatkins deleted the aron-tf branch May 15, 2024 18:51
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

Successfully merging this pull request may close these issues.

2 participants