Implementation of FFD using multidim_image_augmentation #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sir,
while implementing the multidim_image_augmentation repo I have came across some observations and issues:
1. Using Bazel the _augmentation_ops.so file is missing. Can you please tell me how to resolve the issue?
/content/custom-op/multidim_image_augmentation/python/ops
/content/custom-op/multidim_image_augmentation/python/ops/_augmentation_ops.so
NotFoundError Traceback (most recent call last)
in ()
----> 1 import multidim_image_augmentation
2 frames
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/load_library.py in load_op_library(library_filename)
56 RuntimeError: when unable to load the library or get the python wrappers.
57 """
---> 58 lib_handle = py_tf.TF_LoadLibrary(library_filename)
59 try:
60 wrappers = _pywrap_python_op_gen.GetPythonWrappers(
NotFoundError: /content/custom-op/multidim_image_augmentation/python/ops/_augmentation_ops.so: cannot open shared object file: No such file or directory
2. I tried to do the same using make. For that, I have created a Makefile and built the package for augmentation_ops. But while creating a cubic interpolation I am facing the issue as given below:
AttributeError Traceback (most recent call last)
in ()
----> 1 dense_deformation_field = augmentation_ops.cubic_interpolation2d_op(
2 control_grid, control_grid_spacings_pix, transformed_image_shape)
AttributeError: module 'ed34cdb71a1409bc10969aaf278bbfee' has no attribute 'cubic_interpolation2d_op'
Can you please tell me at least the first one how to resolve it?
It will be really helpful for me.