rizki4106 / netrade Goto Github PK
View Code? Open in Web Editor NEWAI Trading assistant with professional trader approach
Home Page: https://playground.heelmet.com/lab/netrade
License: Creative Commons Zero v1.0 Universal
AI Trading assistant with professional trader approach
Home Page: https://playground.heelmet.com/lab/netrade
License: Creative Commons Zero v1.0 Universal
torchvision package is missing in readme.md for installation instructions
torchvision version 0.13.1
AttributeError: module 'torchvision.transforms' has no attribute 'ToTenser'
on
chart_transformer = transforms.Compose([
transforms.Resize((224,224)),
transforms.ToTensor()
])
after preparing my own images in the file structure I ran this section of code. It crashes my computer every time.
from netrade.data import DataPreprocessing
# initialize class
chart = "neTrade/chart/"
candle = "neTrade/candle/"
prep = DataPreprocessing(chart_path=chart, candle_path=candle)
# create dataframe
frame = prep.create_frame()
After running this about 30 seconds go by and then it soft-locks my computer. It could be that maybe I prepared too many images. I ran tree | wc -l
to tell me how many total images I have. I have 30755
images split evenly between charts and candles.
Any help diagnosing this issue would be very helpful.
Traceback (most recent call last):
File "C:/Users/bill/Desktop/teemaki/ai netrade/ai.py", line 90, in
model, history = netrade.train(X_train=dataloader,X_test=dataloader , epochs=10)
File "C:\Users\bill\AppData\Local\Programs\Python\Python310\lib\site-packages\netrade\core.py", line 57, in train
accuracy_score = Accuracy().to(device)
TypeError: Accuracy.new() missing 1 required positional argument: 'task'
So far while trying out this library I have had a great time. Since this library relies so heavily on the images generated; you should include a code snippet of how you generate your Charts and Candles. With this improvement, anyone could pick up the library and use yfinance for example to train their own model very easily
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.