Comments (1)
C:\Users\Alarak>python D:\桌面\CDAN-master\pytorch\train_image.py --gpu_id id --net ResNet50 --dset office-home --test_interval 2000 --s_dset_path D:\OfficeHomeDataset_10072016\Art.txt --t_dset_path D:\OfficeHomeDataset_10072016\Clipart.txt CDAN
Traceback (most recent call last):
File "D:\桌面\CDAN-master\pytorch\train_image.py", line 278, in
train(config)
File "D:\桌面\CDAN-master\pytorch\train_image.py", line 84, in train
dsets["source"] = ImageList(open(data_config["source"]["list_path"]).readlines(),
File "D:\桌面\CDAN-master\pytorch\data_list.py", line 35, in init
imgs = make_dataset(image_list, labels)
File "D:\桌面\CDAN-master\pytorch\data_list.py", line 17, in make_dataset
images = [(val.split()[0], np.array([int(la) for la in val.split()[1:]])) for val in image_list]
File "D:\桌面\CDAN-master\pytorch\data_list.py", line 17, in
images = [(val.split()[0], np.array([int(la) for la in val.split()[1:]])) for val in image_list]
File "D:\桌面\CDAN-master\pytorch\data_list.py", line 17, in
images = [(val.split()[0], np.array([int(la) for la in val.split()[1:]])) for val in image_list]
ValueError: invalid literal for int() with base 10: 'Clock/00001.png|'
创建好两个txt之后,顺便将路径也改成下载到的数据集给出的imagelist中默认的D盘下的相应路径,运行后出现如下报错,似乎下载到的数据集给出的list格式跟贵课题组编程时使用的list格式不完全相同,请问贵课题组是如何对office-home这一数据集进行设置的呢?
除此之外,我发现readme中给出的其他数据集已经大部分不再可用,贵课题组可否更新数据集来源?
from cdan.
Related Issues (20)
- path HOT 2
- AlexNet pre-trained model HOT 1
- SVHN -> MNIST Accuracy HOT 3
- Confusion about the data HOT 1
- DANN HOT 4
- do we need whole iterations 100000? HOT 1
- Questions about learning rate decay
- How to choose checkpoints?
- IWCV
- Cannot train pytorch version on multi-gpu HOT 1
- NotImplementedError HOT 1
- Office-31 Test Set And Val Set
- Different results with multi-GPUs HOT 1
- RuntimeError: size mismatch, m1: [64 x 640], m2: [1792 x 1792] at /opt/conda/conda-bld/pytorch_1550813258230/work/aten/src/THC/generic/THCTensorMathBlas.cu:266
- The parameters in the ad_net
- How can I get usps dataset
- Learning rate setting HOT 1
- How to use CDAN to train with my own dataset?
- Access for ImageCLEF dataset
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 cdan.