GithubHelp home page GithubHelp logo

buffet's People

Contributors

baixiaofanya123 avatar harrywang avatar ksurya avatar leon0707 avatar ml4046 avatar onkarsalvi7 avatar outformatics avatar suhaschowdary avatar wesleytao avatar yobekiko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

buffet's Issues

add XiaoBian tutorial

Add a QA demo system that can answer open-domain questions using multiple documents retrieved by the search engine

numpy version

if you install numpy 1.14.5

rasa-core 0.11.4 has requirement numpy~=1.15, but you'll have numpy 1.14.5 which is incompatible.

if you install numpy 1.15

tensorflow 1.10.1 has requirement numpy<=1.14.5,>=1.13.3, but you'll have numpy 1.15.1 which is incompatible.

[pacman] support loading weights on cpu

---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-39-fee013fa6dac> in <module>()
      1 # load weights
----> 2 q_network.net.load_state_dict(torch.load('./checkpoints/q_network_weights'))

~/Documents/sandbox/buffet/rl_pacman_demo/venv/lib/python3.6/site-packages/torch/serialization.py in load(f, map_location, pickle_module)
    356         f = open(f, 'rb')
    357     try:
--> 358         return _load(f, map_location, pickle_module)
    359     finally:
    360         if new_fd:

~/Documents/sandbox/buffet/rl_pacman_demo/venv/lib/python3.6/site-packages/torch/serialization.py in _load(f, map_location, pickle_module)
    540     unpickler = pickle_module.Unpickler(f)
    541     unpickler.persistent_load = persistent_load
--> 542     result = unpickler.load()
    543 
    544     deserialized_storage_keys = pickle_module.load(f)

~/Documents/sandbox/buffet/rl_pacman_demo/venv/lib/python3.6/site-packages/torch/serialization.py in persistent_load(saved_id)
    506             if root_key not in deserialized_objects:
    507                 deserialized_objects[root_key] = restore_location(
--> 508                     data_type(size), location)
    509             storage = deserialized_objects[root_key]
    510             if view_metadata is not None:

~/Documents/sandbox/buffet/rl_pacman_demo/venv/lib/python3.6/site-packages/torch/serialization.py in default_restore_location(storage, location)
    102 def default_restore_location(storage, location):
    103     for _, _, fn in _package_registry:
--> 104         result = fn(storage, location)
    105         if result is not None:
    106             return result

~/Documents/sandbox/buffet/rl_pacman_demo/venv/lib/python3.6/site-packages/torch/serialization.py in _cuda_deserialize(obj, location)
     73 
     74         if not torch.cuda.is_available():
---> 75             raise RuntimeError('Attempting to deserialize object on a CUDA '
     76                                'device but torch.cuda.is_available() is False. '
     77                                'If you are running on a CPU-only machine, '

RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location='cpu' to map your storages to the CPU.

Python 3 version

I use python 3.6 to test it. Seems like it is on top of python 3.5.

Please specify the correct python version.

  • add short introduction on how to install python 3.5 and build python 3.5 virtual environment if user doesn't have python 3.5.

screen shot 2018-09-19 at 3 07 46 pm

[Rasa] how rasa evaluate different policy

There are the different policy of rasa, the name 'policy' seems to be related with reinforcement learning. I need to check the source code in details to know how rasa handle different policy. And dig into this concept.

[pacman] support loading pre-trained weights

We could train a model and save the network weights in a file and upload to checkpoints for users who do not want to spend time to train.

specify the related hyper parameter values.

# save weights
torch.save(q_network.net.state_dict(), './checkpoints/q_network_weights')

# load weights
q_network.net.load_state_dict(torch.load('./checkpoints/q_network_weights'))

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.