Comments (11)
from .squeeze.squeeze import region_grow
from afm_cvpr2019.
Did you compile the cxx files?
from afm_cvpr2019.
Did you compile the cxx files?
I have compiled in the lib folder.Just like in the install.md and get the information like another issue.
from afm_cvpr2019.
If the squeeze.*.so file has been generated, can you try to import it in the folder of the .so file?
from afm_cvpr2019.
If the squeeze.*.so file has been generated, can you try to import it in the folder of the .so file?
Did it mean that I need to cdll.LoadLibrary
to import .so file in the squeeze_to_lsg.py.Because it cause the error in this file.
those are error function name
lsgenerator ---> region_grow
from afm_cvpr2019.
Sorry to interrupt you.I also have anothor question.I test just one photo which is not in the dataset you provide.Do I need to do some change to the input.I saw the model that need (64,3,3,3).I can't understand this.Which size I need to resize the photo.
from afm_cvpr2019.
Sorry to interrupt you.I also have anothor question.I test just one photo which is not in the dataset you provide.Do I need to do some change to the input.I saw the model that need (64,3,3,3).I can't understand this.Which size I need to resize the photo.
The input image should have 3 channels and you need to resize it into 320x320 if you train the model with 320x320 training samples.
from afm_cvpr2019.
Sorry to interrupt you.I also have anothor question.I test just one photo which is not in the dataset you provide.Do I need to do some change to the input.I saw the model that need (64,3,3,3).I can't understand this.Which size I need to resize the photo.
The input image should have 3 channels and you need to resize it into 320x320 if you train the model with 320x320 training samples.
If I use the model which you provided,I also need to change the photo to 320?I use the unet.
from afm_cvpr2019.
h
Yes
from afm_cvpr2019.
h
Yes
In the squeeze_to_lsg.py, line 3 ,you import the
from squeeze.squeeze import region_grow
,
and it will be a error. So I substitute it,just like it.
`lib1 = cdll.LoadLibrary('/home/xyf/dataset/rotate/afm_cvpr2019-master/afm_cvpr2019-master/lib/squeeze/squeeze.cpython-35m-x86_64-linux-gnu.so')
rects = lib1.region_grow(xx, yy, theta, np.array([H, W], dtype=np.int32))
I use the cdll to load the .so file,but it make other error.
AttributeError: squeeze.cpython-35m-x86_64-linux-gnu.so: undefined symbol: region_grow`
from afm_cvpr2019.
I can't use the function in the squeeze_to_lsg.py. It called region_grow.Is it important to the information for the line.
from afm_cvpr2019.
Related Issues (20)
- OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root. HOT 2
- ValueError: num_samples should be a positive integer value, but got num_samples=0 HOT 10
- Results wrong when testing at different input resolutions HOT 2
- skipping 'squeeze.cpp' Cython extension (up-to-date)
- ImportError: No module named 'squeeze.squeeze' HOT 5
- Threshold of the aspect ratio. HOT 2
- How can I evaluate a photo not in the dataset HOT 3
- Atrous Residual VS Unet. HOT 1
- The dataset can not be downloaded,why is it? HOT 2
- ImportError: /home/afm_cvpr2019-master/lib/afm_op/CUDA.cpython-36m-x86_64-linux-gnu.so: undefined symbol: __cudaRegisterFatBinaryEnd HOT 5
- How to evaluate the pre-trained model on my own images? HOT 1
- what`s the mean? did it succeed?
- RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
- Open dataset? HOT 1
- error"conda develop ../lib"
- error"python preparation_york.py" KeyError:'line' HOT 6
- unrecognized error code HOT 1
- evaluate
- 怎么在自己图像上测试线段检测 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from afm_cvpr2019.