Comments (9)
@avis-ma Hello!
Under the binary mask mode, you can add an "assert" to ensure the values of gt masks are in {0,1} and the predicted masks are in the range [0,1]. This trick is very useful for your debug.
from minus-plus-network.
Thank you very much. I will retry this trick. 👍
from minus-plus-network.
HI,
When I use the dataset you provide, the training of the model will terminate at the time of torch.utils.data.dataloader.You added the sys.exit (- 1) command to the Musicmixdata function.When I deleted this command,I got this error:Sizes of tensors must match except in dimension 3.
I know this problem caused by the different dimension,but I don't know how to solve this problem.
from minus-plus-network.
@813665269 Please check whether you can load the frames and audio correctly. Debug in the "try" code part, and you will find the problems.
from minus-plus-network.
hi,
I print the error data and try to delect all of them,but they are too many.They can run in the Sound-of-Pixels-master,but can not run in your project.I want to know how to Process the datasets to suit this project.
Show the error:
from minus-plus-network.
@813665269 Hello, don't delete the "maybe" error data. Please GO INTO the code block to debug. Maybe there are some little differences in the data format. My data loader is largely based on "Sound-of-Pixels-master", but slightly different.
For example, you can manually load training data here:
Line 419 in 7aa281b
Add visualization code "for data in dataset_train: print(data.keys())", and you can go into such code block and find the exact bug.
from minus-plus-network.
Thanks for your answer,
I print the datasets and get the construction of the wrong data and correct data.In your project ,if the function cant read the data,it will return a tensor with all zeros.
from minus-plus-network.
Hi,
I reshape the error data's tensor from [1,751,255] to [1,751,256] and then drop the command 'sys.exit(-2)' in MusicmixData .Now,this project can run.But I think the wrong tensor with all zeros must effect the model quality.
Can you give me some advice to treat it?
Thanks a lot.
from minus-plus-network.
@813665269 You should check why the error data happens. In other words, the normal shape of that tensor should be [1, 751, 256]. Why will such wrong tensors present in your case? To ensure all the training data is well-prepared is very important.
from minus-plus-network.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minus-plus-network.