Youtube-Code-Repository icon indicating copy to clipboard operation
Youtube-Code-Repository copied to clipboard

Repository for most of the code from my YouTube channel

Results 48 Youtube-Code-Repository issues
Sort by recently updated
recently updated
newest added

I found that the actor and critic model are not using observation space dim as their `input_dim`, and also need to pass the observation space as an integer, not a...

Unable to resolve this issue as googling the issue is also not helping. what syntax to use to run this.

I've downloaded your code and made the following small changes: -removed all loading/checkpointing/saving functions/calls -switched the gym environment to `env = gym.make("InvertedPendulum-v2") ` After some training (variable amount of time...

https://github.com/philtabor/Youtube-Code-Repository/blob/733e4526f9920e5b710e29077fb85a457eec1ea9/ReinforcementLearning/PolicyGradient/TD3/td3_torch.py#L163 Instead of a scalar noise, should be a vector of number of actions size mu_prime = mu + T.tensor(np.random.normal(scale=self.noise,size=(self.n_actions,)),

@philtabor, This is an intriguing implementation of PPO2. It is simple and it converges for cartpole quicker than any other I have seen. Taking a basic definition of "convergence" as...

source: https://www.youtube.com/watch?v=LawaN3BdI00 code source: https://github.com/philtabor/Youtube-Code-Repository/tree/master/ReinforcementLearning/PolicyGradient/actor_critic/tensorflow2 main.py", line 35, in agent.learn(observation, action, reward, observation_, done) TypeError: learn() takes 5 positional arguments but 6 were given

First of all thanks for the useful videos! Second, I had a personal doubt and I am only posting here as I have been trying to fix it for the...

On my (windows 10, Cuda 11) platform i get an error and found this fix. Here is the error : Traceback (most recent call last): File "C:/Users/kerde/Documents/python/qlearning/main.py", line 133, in...

Hi, First of all, thank you for the code. It seems the n_actions argument has been removed in a previous update (ba997f7dc4d38312c2cd1877652ff67aee826c69). I believe, it should be removed here as...