Skip to content

Instantly share code, notes, and snippets.

View mjoshi07's full-sized avatar
๐Ÿ‘€
Searching

mayankJoshi mjoshi07

๐Ÿ‘€
Searching
  • University of Maryland
  • Washington D.C | Metropolitan Area
View GitHub Profile
If gazebo crashes/ or not able to load model
perfor rosdep init and update again
sudo rm /home/username/.ros/rosdep/sources.cache/index
sudo rm /etc/ros/rosdep/sources.list.d/20-default.list
sudo rosdep init
rosdep update
@mjoshi07
mjoshi07 / darknet-helpful-commands.md
Last active August 20, 2024 08:24
Darknet Commands

train the detector

./darknet detector train 'net.data' 'net.cfg' 'net.conv.14' -map -gpus 1,0
  • if more than one gpu, then select how many/which gpu to use
  • to disable Loss-Window use -dont_show flag
  • to see the mAP & Loss-chart during training on remote server without GUI add -dont_show -mjpeg_port 8090 -map flags then open URL http://ip-address:8090 in browser
@mjoshi07
mjoshi07 / rat_in_maze.cpp
Last active June 4, 2021 08:20
Rat in a Maze
#include <iostream>
#include <vector>
#include <algorithm>
#pragma once
#define MATRIX_SIZE 5
struct location {
int row ;
int col ;