Git Product home page Git Product logo

framenet's Introduction

Hi there ๐Ÿ‘‹

framenet's People

Contributors

hjwdzh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

framenet's Issues

Unable to run the app

Hi Jingwei,

Your research work, FrameNet is very interesting.
While trying to setup the demo by running "python AttachTexture.py" I see the below error. (On Ubuntu 18.04)

"OSError: ./cpp/build/libDirection.so: undefined symbol: _ZN2cv6String10deallocateEv"

So far I tried Opencv latest version 4.5.4 and 3.4.10. Both show the same error mentioned above.

Could you tell me which exact version of Opencv you have installed?

Train-test split

I see the train-test split is not the one provided in the scannet dataset(neither v1 nor v2). Can you please elaborate on how this split was chosen?

question about quantitative results on the paper

Hi, I noticed that in AffineTestsDataset() the test samples are drawn every 200 steps. I'm wondering if the quantitative results on the paper are evaluated on the whole test split or test samples from every 200 frames (322 images in total I think)? Thanks in advance.

FrameNet/src/dataset.py

Lines 122 to 131 in fe5cc45

class AffineTestsDataset(Dataset):
def __init__(self, root='/orion/downloads/framenet', usage='test', feat=0):
# Transforms
self.root = root
self.to_tensor = transforms.ToTensor()
# Read the csv file
self.data_info = pickle.load(open(self.root + '/train_test_split.pkl', 'rb'))[usage]
#print(len(self.data_info[0]))
#self.data_info = [self.data_info[i][30000:30008] for i in range(3)]
self.idx = [i for i in range(0,len(self.data_info[0]),200)]

normal quality

Hi, Could you describe a bit how do you compute the normals for scannet data?

compile issue

Hi Jingwei, I was trying to compile the render but ended up the error below all the time. Do you have any ideas on how I can solve this? Should I change OPENCV_INCLUDE_DIR and OPENCV_LIBRARY_DIR? Any suggestions would be very appreciated.

Traceback (most recent call last):
  File "visualize_field.py", line 4, in <module>
    import Render.render as render
  File "/home/qimin/Projects/Cameralocalization/src/Render/render.py", line 4, in <module>
    Render = cdll.LoadLibrary('./Render/libRender.so')
  File "/home/qimin/anaconda3/envs/framenet/lib/python3.7/ctypes/__init__.py", line 442, in LoadLibrary
    return self._dlltype(name)
  File "/home/qimin/anaconda3/envs/framenet/lib/python3.7/ctypes/__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: ./Render/libRender.so: undefined symbol: _ZN2cv7imwriteERKNS_6StringERKNS_11_InputArrayERKSt6vectorIiSaIiEE

Here is the output of pkg-config --libs opencv

-L/usr/local/lib -lopencv_stitching -lopencv_superres -lopencv_videostab -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_dnn_objdetect -lopencv_dpm -lopencv_face -lopencv_photo -lopencv_freetype -lopencv_fuzzy -lopencv_hfs -lopencv_img_hash -lopencv_line_descriptor -lopencv_optflow -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_surface_matching -lopencv_tracking -lopencv_datasets -lopencv_text -lopencv_dnn -lopencv_plot -lopencv_xfeatures2d -lopencv_shape -lopencv_video -lopencv_ml -lopencv_ximgproc -lopencv_calib3d -lopencv_features2d -lopencv_highgui -lopencv_videoio -lopencv_flann -lopencv_xobjdetect -lopencv_imgcodecs -lopencv_objdetect -lopencv_xphoto -lopencv_imgproc -lopencv_core

and pkg-config --cflags opencv

-I/usr/local/include/opencv -I/usr/local/include

So I modified the compile.sh

export PATH=$PATH:/usr/local/cuda-10.1/bin
export LD_LIBRARY_PATH=/usr/local/cuda-10.1/lib64

export OPENCV_INCLUDE_DIR=/usr/local/include
export OPENCV_LIBRARY_DIR=/usr/local/lib

export CFLAGS="-I/usr/local/include/opencv -I$OPENCV_INCLUDE_DIR"
export DFLAGS="-L$OPENCV_LIBRARY_DIR -lopencv_core -lopencv_highgui"

g++ -std=c++11 -c main.cpp $CFLAGS -O2 -o main.o -fPIC
g++ -std=c++11 main.o $CFLAGS $DFLAGS -O2 -o libRender.so -shared -fPIC

#g++ -std=c++11 main.o buffer.o loader.o render.o $CFLAGS $DFLAGS -o render -lcudart

#rm *.o

Different network architecture between paper and code ?

Hi,

I find that the network architecture is different in this code and the paper.

The paper said that FrameNet use DORN as backbone, and following with a U-Net style architecture.

But in this code, there is only DORN backbone, no U-Net style architecture.

Why is this?

renderdepth.png and args.horizontal

Hi Jingwei, thanks for the amazing code. I have a few questions about the dataset and train_affine_dorn. Would it be possible to release the depth.png? What is the args.horizontal in train_affine_dorn.py used for? Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.