Comments (3)
Dear @Jorisfournel , I appreciate about your interest.
At main.py#L93, you can change the path to your own dataset directory if your dataset already split train/valid/test.
In this case, you should save your ground truth data at TRAIN_PATH_NAME + _GT/
,VALID_PATH_NAME + _GT/
,TEST_PATH_NAME + _GT/
else, you can change the path of dataset.py#L99, if you have only the split image/groud truth. And then run dataset.py
.
or you can use argparser like
main.py --train_path='YOUR_TRAIN_IMG_PATH' --valid_path='YOUR_VALID_IMG_PATH' --test_path='YOUR_TEST_IMG_PATH'
In this case, you also should save your ground truth data at TRAIN_PATH_NAME + _GT/
,VALID_PATH_NAME + _GT/
,TEST_PATH_NAME + _GT/
or
dataset.py --origin_data_path='CUSTUM_IMAGE_PATH' --'origin_GT_path=CUSTUM_GROUND_TRUTH_PATH'
If it not works, then plz leave more issues anytime :)
from image_segmentation.
If you don't have further questions, I will close the issue. I hope my answer was helpful :)
from image_segmentation.
Hello,
@LeeJunHyun
I followed your instruction by changing the path to my data in dataset.py L99,100 .. but after running the code I got num of samples= 0 in all folders (train, valid, test)
from image_segmentation.
Related Issues (20)
- Attention gate after upsampling HOT 5
- edge pixel weight map
- some queries HOT 1
- How long will it cost for training on DRIVE dataset?
- saving checkpoints in "model.pth" format and visualizing the segmentation results HOT 1
- JS=1,DS>1and loss>1000 HOT 1
- RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 160 and 384 in dimension 2 at /pytorch/aten/src/TH/generic/THTensor.cpp:689 HOT 8
- Grayscale image HOT 1
- about the .pkl file HOT 2
- > hey guys. use pytorch<=1.2.0 (not confirmed) or change the funtion in "evaluation" to fit the calculation of **bool tensor** will sovle the problem HOT 1
- El
- How to train the multi-class task
- Dice coefficience
- the length variable in the solver.py,
- ValueError: num_samples should be a positive integer value, but got num_samples=0 HOT 1
- License
- the test of solver.py HOT 1
- acc error HOT 1
- Environment details HOT 2
- ValueError: num_samples should be a positive integer value, but got num_samples=0 HOT 1
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 image_segmentation.