Giter Site home page Giter Site logo

tccoin / image-based-indoor-localization Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 87 MB

An image-based localization framework based on work of Song et al, featuring hardware-accelerated image searching​ and optimization with GTSAM.

Python 37.29% C 0.07% CMake 0.05% Cuda 0.74% MATLAB 13.71% Jupyter Notebook 48.13%

image-based-indoor-localization's Introduction

image-based-indoor-localization's People

Contributors

cryscan avatar ljinjie avatar tccoin avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

image-based-indoor-localization's Issues

breakdown when try to train the network

When I am on the fourth step:Train the model and run python image_based_localization/siamese_network/train.py
The program met a breakdown. errors are shown as below: The full errors can be seen in the picture

WARNING:tensorflow:AutoGraph could not transform <function parse_function at 0x7f80c8fc8a60> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output.
Cause: module 'gast' has no attribute 'Index'
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
2023-03-16 19:38:42.859210: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:116] None of the MLIR optimization passes are enabled (registered 2)
2023-03-16 19:38:42.880150: I tensorflow/core/platform/profile_utils/cpu_utils.cc:112] CPU Frequency: 2599990000 Hz
Traceback (most recent call last):
File "/home/shen/UM-MS-study/ROB530/image-based-indoor-localization/image_based_localization/siamese_network/train.py", line 387, in
train.train()
File "/home/shen/UM-MS-study/ROB530/image-based-indoor-localization/image_based_localization/siamese_network/train.py", line 273, in train
te_pairs, te_y = self.valid_pairs_generator(
File "/home/shen/UM-MS-study/ROB530/image-based-indoor-localization/image_based_localization/siamese_network/train.py", line 152, in valid_pairs_generator
i = random.randrange(0, num_data - 1)
File "/home/shen/anaconda3/envs/tf/lib/python3.9/random.py", line 316, in randrange
raise ValueError("empty range for randrange() (%d, %d, %d)" % (istart, istop, width))
ValueError: empty range for randrange() (0, -1, -1)

Screenshot from 2023-03-16 19-40-04

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.