1. 02 Mar, 2021 1 commit
  2. 15 Feb, 2021 1 commit
  3. 14 Feb, 2021 3 commits
  4. 03 Feb, 2021 1 commit
  5. 02 Feb, 2021 1 commit
  6. 30 Jan, 2021 1 commit
  7. 28 Jan, 2021 4 commits
  8. 27 Jan, 2021 2 commits
  9. 26 Jan, 2021 5 commits
  10. 21 Jan, 2021 4 commits
  11. 19 Jan, 2021 1 commit
  12. 18 Jan, 2021 2 commits
  13. 16 Jan, 2021 6 commits
    • DocGarbanzo's avatar
      Add missing AI_THROTTLE_MULT (#747) · 73b2f868
      DocGarbanzo authored
      73b2f868
    • DocGarbanzo's avatar
      Rename ubuntu.yml to pc.yml and update docs accordingly. (#748) · cb1a0010
      DocGarbanzo authored
      * Rename ubuntu.yml to pc.yml and update docs accordingly.
      
      * Added missing update in travis.
      cb1a0010
    • DocGarbanzo's avatar
      Merge pull request #746 from showsep93/dev · b459a25b
      DocGarbanzo authored
      Fixed FindCar function for RPi4
      b459a25b
    • DocGarbanzo's avatar
      Follow up on code review: · df3706ea
      DocGarbanzo authored
      * Renamed function for session id creation in manifest and stored dictionary of last_id, last_full_id and all_full_ids in the metadata so no parsing needs to happen. Added more comment to the manifest to explain the session id logic. Added `if` around session_id update flag, so flag gets set only once.
      * Reverted tub test and created new tub writer test instead
      * Removed shutdown hook from tub writer as it will be closed by the vehicle
      * When session_id data gets inserted into the metadata, only modify the corresponding line (actually the seekable also modifies the lines below, there is still room for improvement in that method)
      * Minor performance upgrades and improved timing in fast forward loop in UI
      df3706ea
    • DocGarbanzo's avatar
      Tub improvements: · 2c2dc419
      DocGarbanzo authored
      * Fixed manifest iterator to avoid too deep recursive function calls which segfaults when deleting many records
      * Automatic addition of '_session_id' field in the Tub. This mimics the naming convention we used to have for old-style tubs before: YY-MM-DD_N, where N is a running integer. All session ids of a tub are stored in the manifest.json file. The tub needs to receive records and needs to get closed for this entry to be updated.
      * Added test for the new tub and tub writer logic
      
      Tub GUI development:
      * Support starting from 'donkey ui' command
      * All relevant settings are stored in ~/.donkeyrc file which is editable
      
      Training improvements:
      * You can now put a predicate for tub records into the myconfig.py to filter records for training. The config variable TRAIN_FILTER has to be set to that function.
      * Improve training performance by using tf prefetch
      * Default AI framework to 'tensorflow' in training
      
      Others:
      * Update docs
      * Update patch version number to 4.2.0
      * Reduced run time of test_train using only 5 epochs and adjusting thresholds accordingly
      * Reduced run time of torch tests using 3 epochs - these were very slow (like 25+ m on MacBook)
      * Minor updates in docstrings and switching to f-strings
      * Fixed duplicated function in keras.py
      2c2dc419
    • Josep's avatar
      Fixed FindCar function for RPi4 · 6e7704f7
      Josep authored
      6e7704f7
  14. 15 Jan, 2021 1 commit
  15. 11 Jan, 2021 1 commit
  16. 04 Jan, 2021 2 commits
  17. 29 Dec, 2020 3 commits
    • wallarug's avatar
    • Eric Wiener's avatar
      Added the ability to train PyTorch models (#706) · 94e9d604
      Eric Wiener authored
      * Added in PyTorch and PyTorch Lightning to train a DC model
      
      Successfully able to train a ResNet18-based model using PyTorch
      Lightning.
      
      * Removed hard-coded max number of epochs (used for debugging)
      
      * Added an inference transform to ResNet18 to convert PIL -> tensor
      
      * Unsqueezed input tensor during inference for batch dimension
      
      * Reshaped ResNet output from (1, 2) to (2,)
      
      * Added the ability to resume training from a checkpoint
      
      * Added helper print message when tensorboard logging is enabled
      
      * Updated docopt arguments for train.py. Made checkpoint optional
      
      * Changed TorchTubDataset from sub-classing Dataset to IterableDataset
      
      This was done in response to https://github.com/autorope/donkeycar/pull/706#discussion_r548137252
      
      * Renamed load_image_arr to load_image. Updated load_pil_image
      
      load_pil_image will now handle converting the image to greyscale
      (vs. this being done in load_image).
      
      * Updated enviroments for Mac and Ubuntu. Set Python=3.7
      
      * Updated installation documentation. Added script to setup Nano
      
      Updated the installation instructions for Ubuntu, Mac, and Windows.
      Clarified a common issue that occurs when running pip install -e .[pc]
      with ZSH.
      
      Also added a script to setup the Jetson Nano and updated the documentation
      for the Nano (it previously was installing tensorflow 1.x).
      
      * Added torch flag to setup.py to install pytorch
      
      * Moved pytorch training into base.py and removed from train.py
      
      * Moved Jetson Nano python package installation into requirements.txt
      
      * Formatted with PEP8 to clean up pytorch code
      
      * Updated docs to provide work-around for ZSH pip install -e .[pc]
      
      * Removed duplicate dependencies in conda env files
      
      * ResNet18 torch model now returns training loss history
      
      * Added test file for PyTorch training
      
      Still need to make sure this passes Travis CI.
      
      * Added lightning_logs to .gitignore
      
      * You can now specify the default AI framework to use in config.py
      
      This reduces the number of command line arguments you are required
      to provide.
      
      * get_model_by_type for PyTorch now lazy imports ResNet18
      
      * Added help message to torch_train. Got rid of linear model type
      
      * Updated pytorch tests and fixed some syntax errors
      
      * ResNet18 example input shape updated to be (B, 3, 224, 224)
      
      Also now passing output_shape to load_resnet18 to modify how many
      output classes are used
      
      * No longer pinning requirement versions for Jetson Nano
      
      * Fixed formatting in setup.py
      94e9d604
    • Tim Gates's avatar
      docs: fix simple typo, unfarmilar -> unfamiliar (#714) · 4ded8750
      Tim Gates authored
      There is a small typo in docs/guide/host_pc/setup_windows.md.
      
      Should read `unfamiliar` rather than `unfarmilar`.
      4ded8750
  18. 23 Dec, 2020 1 commit
    • DocGarbanzo's avatar
      Minor changes for 4.1 in tub conversion script and developer doc (#708) · 5ae45b88
      DocGarbanzo authored
      * Minor changes for 4.1
      * Update conversion script to translate discontinuous data.
      * In developer guide add disclaimer for version and correct intra-page links.
      
      * * Update doc with donkey train command.
      * Update doc with developer section for building own models in donkey 4.1
      * Integrate changes from PR feedback
      
      * Incorporate PR feedback
      * Add empty records concept to tub
      * Minor updates to conversion script
      
      * Incorporate PR feedback
      * Add empty record type into conversion script
      5ae45b88