Comments (8)
感谢提issue! 非常有用! .pdparams
的问题确实是readme有问题。 script的问题,我这边没有发现类似的问题, 是因为terminal的版本或者平台不一样的问题吗? 我这边linux shell单引号不会有报错。
from paddlevit.
感谢提issue! 非常有用!
.pdparams
的问题确实是readme有问题。 script的问题,我这边没有发现类似的问题, 是因为terminal的版本或者平台不一样的问题吗? 我这边linux shell单引号不会有报错。
我的操作系统是:Windows 10,版本号为 20H2
命令行终端是:Windows Terminal,版本号为 1.11.2921.0
我没在 Linux 操作系统下测试,不过不带引号的话,在 Linux 系统下应该也不会报错,以前在Linux 终端运行命令的时候,参数也没加过引号。所以建议命令行参数还是统一改成不带引号的会比较好~
from paddlevit.
噢,我的意思是,直接把命令复制到终端运行,参数加引号的话会报错,不是在终端运行.sh
脚本会报错~
from paddlevit.
我尝试了在Pycharm集成终端里运行单GPU训练的命令,但是并没有发生所述情况
CUDA_VISIBLE_DEVICES=0 \
python main_single_gpu.py \
-cfg='./configs/beit_base_patch16_224.yaml' \
-dataset='imagenet2012' \
-batch_size=32 \
-data_path='./dataset/imagenet' \
但是如果选择使用pycharm配置运行文件,并设置命令行参数为
-cfg='./configs/vit_base_patch16_224_finetune.yaml'
-dataset
imagenet2012
-batch_size=2
-data_path='./dataset/imagenet'
会出现报错FileNotFoundError: [Errno 2] No such file or directory: "'./configs/vit_base_patch16_224_finetune.yaml'"
from paddlevit.
感谢提issue! 非常有用!
.pdparams
的问题确实是readme有问题。 script的问题,我这边没有发现类似的问题, 是因为terminal的版本或者平台不一样的问题吗? 我这边linux shell单引号不会有报错。我的操作系统是:Windows 10,版本号为 20H2 命令行终端是:Windows Terminal,版本号为 1.11.2921.0 我没在 Linux 操作系统下测试,不过不带引号的话,在 Linux 系统下应该也不会报错,以前在Linux 终端运行命令的时候,参数也没加过引号。所以建议命令行参数还是统一改成不带引号的会比较好~
不好意思,我说错了。我用的是 PyCharm
开发环境,是在 PyCharm
终端运行命令,如果参数值加引号会出现 FileNotFoundError
的异常。其他终端, Windows Terminal
和 Git bash
加引号不会出现这个异常。如果不加引号的话,所有的终端运行都没有问题。非常抱歉~
from paddlevit.
我使用的 PyCharm 版本是 2020.1.5(Professional Edition)
~
from paddlevit.
我用的是Pycharm 2021.2,可能确实是版本的问题
from paddlevit.
这个我昨天使用 win 测试了下,Terminal 本身不会影响的,我同样在 Windows Terminal 进行测试,在选用不同 shell 的情况下结果会有一定差异。我分别测试了 「PowerShell」、「Git Bash」、「cmd」三种 shell,并分别以「不带引号」、「单引号包裹」、「双引号包裹」传参进行测试(3x3=9 种情况),最终结果是只有「以 cmd 为 shell 且传参含单引号」时出现该问题。目测 PyCharm 上的问题也是将 cmd 作为 shell 引起的。
因此删去单引号或者将单引号改为双引号都是一种解决方案(个人倾向于后者),当然还有一种解决方案就是不要用 cmd 作为 shell 啦~๑乛ᆺ乛๑!!! PowerShell 和 Git Bash 不香嘛~~~
from paddlevit.
Related Issues (20)
- 请问,何凯明的Masked Autoencoders Are Scalable Vision Learners这篇论文有复现嘛? HOT 1
- 请问有提供模型训练的日志吗? HOT 4
- cswin_large_224 pretrained 22k model HOT 4
- t2t利用paddlelite进行pto可以导出定点模型,但评测时报错 HOT 5
- 关于mae的预训练模型是否包含decoder部分 HOT 1
- 说明文档在数据准备阶段的Bug HOT 1
- TopFormer预测精度
- 如何计算VIT模型的Flops ? HOT 1
- 求train_list.txt, val_list.txt HOT 4
- 图片的patch问题
- head_dim
- MobileFormer的预训练权重
- MobileFormer
- ViT pretrained weight with MAE
- 请问vit-base-patch16-224的模型是仅通过仓库训练脚本得到的吗?
- MixSoftmaxCrossEntropyLoss 与MultiCrossEntropyLoss
- 挺好的一个项目,不更新维护了?? HOT 1
- Hey , I am trying to run your for for the Trans2seg paper, but continously getting this error
- TopFormer implementation differs from original reference implementation
- Cannot get Image Segmentation training to work with custom 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 paddlevit.